Aleph 0.4.7-alpha7
Released under the MIT License
a framework for asynchronous communication.
Installation
To install, add the following dependency to your project or build file:
[aleph "0.4.7-alpha7"]
Namespaces
aleph.http
Public variables and functions:
- connect
- connection-pool
- default-connection-pool
- default-response-executor
- delete
- file
- get
- get-all
- head
- options
- patch
- post
- put
- register-connection-stats-callback
- request
- start-server
- trace
- unregister-connection-stats-callback
- websocket-client
- websocket-close!
- websocket-connection
- websocket-ping
- wrap-ring-async-handler
aleph.http.client
Public variables and functions:
- client-handler
- close-connection
- http-connection
- http-proxy-handler
- http-proxy-headers
- non-tunnel-proxy?
- pending-proxy-connection-handler
- pipeline-builder
- proxy-handler
- raw-client-handler
- req->domain
- req->proxy-url
- websocket-client-handler
- websocket-connection
- websocket-frame-size
- websocket-handshaker
aleph.http.client-middleware
This middleware is adapted from clj-http, whose license is amenable to this sort of copy/pastery
Public variables and functions:
- accept-encoding-value
- add-cookie-header
- basic-auth-value
- client-error?
- coerce-clojure-body
- coerce-form-params
- coerce-json-body
- coerce-response-body
- coerce-transit-body
- conflict?
- content-type-value
- cookie->netty-cookie
- cookie-expired?
- cookie-header-name
- CookieSpec
- CookieStore
- decode-set-cookie-header
- default-cookie-spec
- default-middleware
- detect-charset
- enrich-with-current-time
- extract-cookies-from-response-headers
- follow-redirect
- generate-query-string
- generate-query-string-with-encoding
- handle-cookies
- handle-redirects
- handle-response-debug
- in-memory-cookie-store
- json-decode
- json-decode-strict
- json-enabled?
- json-encode
- match-cookie-domain?
- match-cookie-path?
- merge-cookies
- missing?
- multi-param-suffix
- netty-cookie->cookie
- opt
- parse-content-type
- parse-transit
- parse-url
- parse-user-info
- redirect?
- reduce-to-unique-cookie-names
- req->cookie-origin
- server-error?
- set-cookie-header-name
- success?
- transit-enabled?
- transit-encode
- unexceptional-status?
- url-encode
- url-encode-illegal-characters
- when-pos
- wrap-accept
- wrap-accept-encoding
- wrap-basic-auth
- wrap-content-type
- wrap-cookies
- wrap-exceptions
- wrap-form-params
- wrap-method
- wrap-nested-params
- wrap-oauth
- wrap-query-params
- wrap-request
- wrap-request-debug
- wrap-request-timing
- wrap-url
- wrap-user-info
- write-cookie-header
aleph.http.core
Public variables and functions:
- attach-heartbeats-handler
- attach-idle-handlers
- cached-header-keys
- chunked-writer-enabled?
- close-empty-status-code
- close-on-idle-handler
- coerce-element
- default-chunk-size
- empty-last-content
- handle-heartbeat
- has-content-length?
- headers->map
- http-file
- map->headers!
- netty-request->ring-request
- netty-response->ring-response
- non-standard-keys
- normalize-header-key
- resolve-pings!
- ring-request->full-netty-request
- ring-request->netty-request
- ring-request-ssl-session
- ring-response->netty-response
- send-chunked-body
- send-chunked-file
- send-contiguous-body
- send-file-body
- send-file-region
- send-message
- send-streaming-body
- try-set-content-length!
- websocket-close!
- websocket-message-coerce-fn
- websocket-ping
aleph.http.server
Public variables and functions:
- date-format
- date-header-value
- date-value
- default-accept-response
- default-expectation-failed-response
- error-response
- exception-handler
- handle-request
- initialize-websocket-handler
- invalid-request?
- invalid-value-response
- new-continue-handler
- pipeline-builder
- raw-ring-handler
- reject-invalid-request
- rfc-1123-date-string
- ring-handler
- send-response
- send-websocket-request-expected!
- start-server
- websocket-server-handler
- websocket-upgrade-request?
aleph.netty
Public variables and functions:
- acquire
- activity-logger
- AlephServer
- allocate
- append-to-buf!
- array-class
- attribute
- bandwidth-tracker
- buf->array
- buffered-source
- bufs->array
- channel
- channel-handler
- channel-inbound-counter
- channel-inbound-handler
- channel-inbound-throughput
- channel-outbound-counter
- channel-outbound-handler
- channel-outbound-throughput
- channel-remote-address
- channel-server-name
- channel-server-port
- channel-ssl-session
- client-event-thread-pool-name
- close
- coerce-log-level
- convert-address-types
- create-client
- dns-default-port
- dns-name-servers-provider
- dns-resolver-group
- enumerating-thread-factory
- epoll-available?
- epoll-client-group
- flush
- get-attribute
- get-default-event-loop-threads
- insecure-ssl-client-context
- instrument!
- leak-detector-level!
- nio-client-group
- pipeline-initializer
- put!
- release
- release-buf->array
- remove-if-present
- safe-execute
- self-signed-ssl-context
- set-attribute
- set-logger!
- sink
- sink-close-marker
- source
- ssl-client-context
- start-server
- to-byte-buf
- to-byte-buf-stream
- wrap-future
- write
- write-and-flush