Mint.HTTP2.get_server_setting

You're seeing just the function get_server_setting, go back to Mint.HTTP2 module for more information.
Link to this function

get_server_setting(conn, name)

View Source

Specs

get_server_setting(t(), atom()) :: term()

Gets the value of the given HTTP/2 server settings.

This function returns the value of the given HTTP/2 setting that the server advertised to the client. This function is HTTP/2 specific. For more information on HTTP/2 settings, see the related section in the RFC.

See the "HTTP/2 settings" section in the module documentation for more information.

Supported settings

The possible settings that can be retrieved are described in setting/0. Any other atom passed as name will raise an error.

Examples

Mint.HTTP2.get_server_setting(conn, :max_concurrent_streams)
#=> 500