Liking cljdoc? Tell your friends :D

aleph.netty


acquireclj

(acquire x)
source

AlephServercljprotocol

portclj

(port _)

Returns the port the server is listening on.

Returns the port the server is listening on.

wait-for-closeclj

(wait-for-close _)

Blocks until the server has been closed.

Blocks until the server has been closed.
source

allocateclj

(allocate x)
source

append-to-buf!clj

(append-to-buf! buf x)
source

array-classclj

source

attributeclj

(attribute s)
source

bandwidth-trackerclj

(bandwidth-tracker ch)
source

buf->arrayclj

(buf->array buf)
source

buffered-sourceclj

(buffered-source ch metric capacity)
source

bufs->arrayclj

(bufs->array bufs)
source

channelclj

(channel x)
source

channel-handlerclj/smacro

(channel-handler & {:as handlers})
source

channel-inbound-counterclj

source

channel-inbound-throughputclj

source

channel-outbound-counterclj

source

channel-outbound-throughputclj

source

channel-remote-addressclj

(channel-remote-address ch)
source

channel-server-nameclj

(channel-server-name ch)
source

channel-server-portclj

(channel-server-port ch)
source

client-event-thread-pool-nameclj

source

closeclj

(close x)
source

create-clientclj

(create-client pipeline-builder
               ssl-context
               bootstrap-transform
               remote-address
               local-address
               epoll?)
source

epoll-available?clj

(epoll-available?)
source

epoll-client-groupclj

source

flushclj

(flush x)
source

get-attributeclj

(get-attribute ch attr)
source

get-default-event-loop-threadsclj

(get-default-event-loop-threads)

Determines the default number of threads to use for a Netty EventLoopGroup. This mimics the default used by Netty as of version 4.1.

Determines the default number of threads to use for a Netty EventLoopGroup.
This mimics the default used by Netty as of version 4.1.
sourceraw docstring

headersclj

(headers h)
source

insecure-ssl-client-contextclj

(insecure-ssl-client-context)
source

instrument!clj

(instrument! stream)
source

leak-detector-level!clj

(leak-detector-level! level)
source

nio-client-groupclj

source

pipeline-initializerclj

(pipeline-initializer pipeline-builder)
source

put!clj

(put! ch s msg)
source

releaseclj

(release x)
source

release-buf->arrayclj

(release-buf->array buf)
source

safe-executeclj/smacro

(safe-execute ch & body)
source

self-signed-ssl-contextclj

(self-signed-ssl-context)

A self-signed SSL context for servers.

A self-signed SSL context for servers.
sourceraw docstring

set-attributeclj

(set-attribute ch attr val)
source

set-logger!clj

(set-logger! logger)
source

sinkclj

(sink ch)
(sink ch downstream? coerce-fn)
(sink ch downstream? coerce-fn additional-description)
source

sourceclj

(source ch)
source

ssl-client-contextclj

(ssl-client-context)
(ssl-client-context {:keys [private-key private-key-password certificate-chain
                            trust-store]})

Creates a new client SSL context.

Keyword arguments are:

|:---|:---- | private-key | A java.io.File, java.io.InputStream, or java.security.PrivateKey containing the client-side private key. | certificate-chain | A java.io.File, java.io.InputStream, or array of java.security.cert.X509Certificate containing the client's certificate chain. | private-key-password | A string, the private key's password (optional). | trust-store | A java.io.File, java.io.InputStream, array of java.security.cert.X509Certificate, or a javax.net.ssl.TrustManagerFactory to initialize the context's trust manager.

Note that if specified, the types of private-key and certificate-chain must be "compatible": either both input streams, both files, or a private key and an array of certificates.

Creates a new client SSL context.

Keyword arguments are:

|:---|:----
| `private-key` | A `java.io.File`, `java.io.InputStream`, or `java.security.PrivateKey` containing the client-side private key.
| `certificate-chain` | A `java.io.File`, `java.io.InputStream`, or array of `java.security.cert.X509Certificate` containing the client's certificate chain.
| `private-key-password` | A string, the private key's password (optional).
| `trust-store` | A `java.io.File`, `java.io.InputStream`, array of `java.security.cert.X509Certificate`, or a `javax.net.ssl.TrustManagerFactory` to initialize the context's trust manager.

Note that if specified, the types of `private-key` and `certificate-chain` must be
"compatible": either both input streams, both files, or a private key and an array
of certificates.
sourceraw docstring

start-serverclj

(start-server pipeline-builder
              ssl-context
              bootstrap-transform
              on-close
              socket-address
              epoll?)
source

to-byte-bufclj

(to-byte-buf x)
(to-byte-buf ch x)
source

to-byte-buf-streamclj

(to-byte-buf-stream x chunk-size)
source

wrap-futureclj

(wrap-future f)
source

writeclj

(write x msg)
source

write-and-flushclj

(write-and-flush x msg)
source

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

× close