package
0.2.20
Repository: https://github.com/pubgo/lava.git
Documentation: pkg.go.dev

# Functions

WebsocketProxy attempts to expose the underlying handler as a bidi websocket stream with newline-delimited JSON as the content encoding.
WithMethodParamOverride allows specification of the special http parameter that is used in the proxied streaming request.
No description provided by the author
No description provided by the author
WithRequestMutator allows a custom RequestMutatorFunc to be supplied.
No description provided by the author
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.

# Structs

Proxy provides websocket transport upgrade to compatible endpoints.

# Type aliases

Option allows customization of the proxy.
RequestMutatorFunc can supply an alternate outgoing request.