Expand/Shrink

nopoll_conn_get_accepted_protocol

Definition: include nopoll.e

string protocol = nopoll_conn_get_accepted_protocol(atom conn)
Description: Get accepted protocol in the case a protocol was requested during connection.

conn: The connection where the operation is taking place.

Returns: A reference to the protocol accepted or "" if no protocol was mentioned during the handshake.