Liking cljdoc? Tell your friends :D

protojure.pedestal.core

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
raw docstring

add-close-listenerclj

(add-close-listener conn f)
source

chain-executeclj

(chain-execute request interceptors)
source

configclj

(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
sourceraw docstring

conn-idclj

(conn-id conn)
source

disconnect!clj

(disconnect! channel)
source

handle-disconnectclj

(handle-disconnect connections k)
source

providerclj

(provider {:keys [:protojure.pedestal.core/thread-pool]
           :or {thread-pool (if p.exec/vthreads-supported?
                                p.exec/vthread-executor
                                p.exec/thread-executor)}
           :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
sourceraw docstring

subscribe-closeclj

(subscribe-close connections exchange)
source

unsubscribe-closeclj

(unsubscribe-close connections exchange)
source

write-datacljmultimethod

Writes the provided bytes to the undertow response channel

Writes the provided bytes to the undertow response channel
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close