Net 0.3.3-beta41

Released under the MIT License

A clojure netty companion.

Installation

To install, add the following dependency to your project or build file:

[spootnik/net "0.3.3-beta41"]

Topics

Namespaces

net.codec.b64

Base64 encoding and decoding

Public variables and functions:

net.codec.hex

Hexadecimal encoding facilities

Public variables and functions:

net.core.async

Small extensions and improvements on top of core.async

net.core.concurrent

Simple wrapper for basic j.u.concurrent tasks (or future alternatives)

net.http

Functions common to HTTP clients and servers

net.http.chunk

net.http.client

Small wrapper around netty for HTTP clients.

net.http.headers

Public variables and functions:

net.http.request

net.http.server

Small wrapper around netty for HTTP servers. The objective here is to be mostly compatible with the vast number of available clojure HTTP server implementations.

net.http.uri

Public variables and functions:

net.ssl

Clojure glue code to interact with the horrible JVM SSL code

net.tcp

Functions for simple creation of TCP servers and clients

Public variables and functions:

net.transform.aggregator

A buffer aggregator, when a number of smaller ByteBuf instances need to be aggregated over a larger CompositeByteBuf instance.

net.transform.split

A generic splitting transducer for collections of ByteBuf instances To help the splitting process, and to allow other types of splitting to occur, two protocols are provided.

net.transform.string

Public variables and functions:

net.ty.bootstrap

A clojure facade to build netty bootstraps. In netty, bootstraps are helpers to get channels.

net.ty.buffer

Utility functions to build fixed size buffers. These functions hold onto data and yield when a specific size has been reached.

net.ty.channel

Handy functions to deal with netty channels

net.ty.coerce

Our beloved JVM does not implement unsigned types. Some protocols rely heavily on unsigned types, and we thus need to have ways of parsing those

net.ty.future

Handy functions to deal with netty futures

net.ty.pipeline

Utilities to build and work with Netty pipelines