dart_frog icon indicating copy to clipboard operation
dart_frog copied to clipboard

feat: expose HttpConnectionInfo

Open felangel opened this issue 2 years ago • 0 comments

Description

As a developer, I want to have easy access to the HttpConnectionInfo so that I can access the remote address and/or port.

This can be surfaced via the RequestContext:

Response onRequest(RequestContext context) {
  final connectionInfo = context.connectionInfo;
}

felangel avatar Jul 21 '22 14:07 felangel