connectionInfo property

HttpConnectionInfo? get connectionInfo

Retrieves information about the client's connection to the server.

This getter returns information about the client's connection, such as the remote address and port, or null if the socket information is not available.

Implementation

HttpConnectionInfo? get connectionInfo {
  return context['shelf.io.connection_info'] as HttpConnectionInfo?;
}