# Functions
WebsocketProxy attempts to expose the underlying handler as a bidi websocket stream with newline-delimited JSON as the content encoding.
WithForwardedHeaders allows controlling which headers are forwarded.
WithLogger allows a custom FieldLogger to be supplied.
WithMaxRespBodyBufferSize allows specification of a custom size for the buffer used while reading the response body.
WithMethodParamOverride allows specification of the special http parameter that is used in the proxied streaming request.
WithRequestMutator allows a custom RequestMutatorFunc to be supplied.
WithTokenCookieName allows specification of the cookie that is supplied as an upstream 'Authorization: Bearer' http header.
# Variables
MethodOverrideParam defines the special URL parameter that is translated into the subsequent proxied streaming http request's method.
TokenCookieName defines the cookie name that is translated to an 'Authorization: Bearer' header in the streaming http request's headers.
# Interfaces
Logger collects log messages.
# Type aliases
Option allows customization of the proxy.
RequestMutatorFunc can supply an alternate outgoing request.