# Functions
AddCSS adds a CSS file to Handler, serving the supplied contents at the URI "/s/<filename>" with a Content-Type of "text/css; charset=UTF-8".
AddCSSFile is like AddCSS except that the contents are provided in the form of a function that is used to "open" the file to read.
AddJS adds a JS file to Handler, serving the supplied contents at the URI "/s/<filename>" with a Content-Type of "text/javascript; charset=UTF-8".
AddJSFile is like AddJS except that the contents are provided in the form of a function that is used to "open" the file to read.
Handler returns an HTTP handler that provides a fully-functional gRPC web UI, including the main index (with the HTML form), all needed CSS and JS assets, and the handlers that provide schema metadata and perform RPC invocations.
HandlerViaReflection tries to query the provided connection for all services and methods supported by the server, and constructs a handler to serve the UI.
PreserveHeaders instructs the Handler to preserve the named HTTP headers if they are included in the invocation request, and send them as request metadata when invoking the RPC.
ServeAsset will add an additional file to Handler, serving the supplied contents at the URI "/s/<filename>" with a Content-Type that is computed based on the given filename's extension.
ServeAssetDirectory is similar to ServeAssetFile except the give name is the root of a subtree, which can be used to serve a directory of assets.
ServeAssetFile is like ServeAsset except that the contents are provided in the form of a function that is used to "open" the file to read.
WithClientDebug enables console logging in the client JS.
WithCSS entirely replaces the WebFormCSS bytes used by default in Handler.
WithDebug enables console logging in the client JS.
WithDefaultMetadata sets the default metadata in the web form to the given values.
WithExampleData will add examples to the UI.
WithExamples will add examples to the UI.
WithIndexTemplate replace the default HTML template used in Handler with the one given.
WithInvokeVerbosity indicates the level of log output from the gRPC UI server handler that performs RPC invocations.
WithMetadata adds extra request metadata that will be included when an RPC in invoked.
# Structs
Example model of an example gRPC request.
ExampleMetadataPair (name, value) pair.
ExampleRequest gRPC request.
WebFormContainerTemplateData is the param type for templates that embed the webform HTML.
# Interfaces
HandlerOption instances allow for configuration of the standalone Handler.