Name

gun:info - Obtain information about the connection

Description

Obtain information about the connection.

Arguments

ConnPid

The pid of the Gun connection process.

Return value

A map is returned containing various informations about the connection.

Changelog

  • 1.3: The values socket, transport, protocol, origin_host, origin_port and intermediaries were added.

  • 1.0: Function introduced.

Examples

Obtain information about the connection

See also