# Packages
No description provided by the author
# Functions
Client health check function is also part of the grpc/internal package The following code is a simplified version of client.go For more details see: https://pkg.go.dev/google.golang.org/grpc/health.
No description provided by the author
ListGRPCResources is a helper function that lists all URLs that are registered on gRPC server.
WebsocketRequestOrigin returns the host from which a websocket request made by a web browser originated.
WithAllowedRequestHeaders allows for customizing what gRPC request headers a browser can add.
WithAllowNonRootResource enables the gRPC wrapper to serve requests that have a path prefix added to the URL, before the service name and method placeholders.
WithCorsForRegisteredEndpointsOnly allows for customizing whether OPTIONS requests with the `X-GRPC-WEB` header will only be accepted if they match a registered gRPC endpoint.
WithEndpointsFunc allows for providing a custom function that provides all supported endpoints for use when the when `WithCorsForRegisteredEndpoints` option` is not set to false (i.e.
WithOriginFunc allows for customizing what CORS Origin requests are allowed.
WithWebsocketOriginFunc allows for customizing the acceptance of Websocket requests - usually to check that the origin is valid.
WithWebsocketPingInterval enables websocket keepalive pinging with the configured timeout.
WithWebsockets allows for handling grpc-web requests of websockets - enabling bidirectional requests.
WithWebsocketsMessageReadLimit sets the maximum message read limit on the underlying websocket.
WrapHandler takes a http.Handler (such as a http.Mux) and returns a *WrappedGrpcServer that provides gRPC-Web Compatibility.
WrapServer takes a gRPC Server in Go and returns a *WrappedGrpcServer that provides gRPC-Web Compatibility.
# Type aliases
No description provided by the author