get_client_setting, go back to Mint.HTTP2 module for more information.
Gets the value of the given HTTP/2 client setting.
This function returns the value of the given HTTP/2 setting that the client
advertised to the server. Client settings can be advertised through
or when starting up a connection.
Client settings have to be acknowledged by the server before coming into effect.
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.
The possible settings that can be retrieved are described in
Any other atom passed as
name will raise an error.
Mint.HTTP2.get_client_setting(conn, :max_concurrent_streams) #=> 500