A per-request Context combining an IoC container with handler context (request, response, etc.).
export declare class RequestContext extends Context implements HandlerContext
|(constructor)(request, response, parent, serverConfig, name)||Constructs a new instance of the
||Get the effective base path of the incoming request. This base path combines
||Get the base URL used by the client to make the request. This URL contains the protocol, hostname, port and base path. The path of the invoked route and query string is not included.Please note these values may be different from what we are observing at HTTP/TCP level, because reverse proxies like nginx are rewriting them.|
||Get the protocol used by the client to make the request. Please note this protocol may be different from what we are observing at HTTP/TCP level, because reverse proxies like nginx or sidecars like Envoy are switching between protocols.|