A Pedestal chain provider compatible with simultaneously serving both GRPC-HTTP2 and GRPC-WEB protocols
A [Pedestal](http://pedestal.io/) [chain provider](http://pedestal.io/reference/chain-providers) compatible with simultaneously serving both [GRPC-HTTP2](https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md) and [GRPC-WEB](https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-WEB.md) protocols
(config service-map
{:keys [host port]
{:keys [ssl-port] :as ssl-config} :container-options
:or {host "127.0.0.1"}})
Given a service map (with interceptor provider established) and a server-opts map, Return a map of :server, :start-fn, and :stop-fn. Both functions are 0-arity
Given a service map (with interceptor provider established) and a server-opts map, Return a map of :server, :start-fn, and :stop-fn. Both functions are 0-arity
(provider {:keys [:protojure.pedestal.core/thread-pool]
:or {thread-pool (Executors/newCachedThreadPool)}
:as service-map})
Generates our undertow provider, which defines the callback point between the undertow container and pedestal by dealing with the dispatch interop. Our real work occurs in the (request) form above
Generates our undertow provider, which defines the callback point between the undertow container and pedestal by dealing with the dispatch interop. Our real work occurs in the (request) form above
Writes the provided bytes to the undertow response channel
Writes the provided bytes to the undertow response channel
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close