hcoap-0.1.2.1: CoAP implementation for Haskell.

Maintainerulf.lilleengen@gmail.com
Safe HaskellNone
LanguageHaskell2010

Network.CoAP.Transport

Description

License: BSD3

The CoAP transport API is intended to provide different transports available for CoAP. Currently only UDP transport is supported.

Synopsis

Documentation

createUDPTransport :: Socket -> Transport Source

Create UDP transport instance for a given socket.

type Endpoint = SockAddr Source

A CoAP endpoint.

data Transport Source

A CoAP transport instance capable of sending and receiving data