coap-server
coap-server
Provides an interface for handling and responding to CoAP requests.
- Dispatcher handles the protocol layer
- buffers incoming messages
- provides completed requests for processing
- buffers responses
- handles sending the response to the client
- Processor handles discrete requests
- takes a complete request
- transforms it for processing (HTTP request)
- response received from the request pipline
- response transformed for dispatch
flowchart TD
IO[/Network IO/]
-->|#buffer| Dispatch[Dispatcher]
Dispatch -->|request.send| Processor[Processor]
Processor -->|HTTP request| Pipeline[Request Pipeline]
Pipeline -->|HTTP response| Processor
Processor -->|#respond| Dispatch
Dispatch -->|response.send| IO
Installation
-
Add the dependency to your
shard.yml
:dependencies: coap-server: github: spider-gazelle/coap-server
-
Run
shards install
Usage
require "coap-server"
TODO: Write usage instructions here
Contributing
- Fork it (https://github.com/spider-gazelle/coap-server/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Stephen von Takach - creator and maintainer
Repository
coap-server
Owner
Statistic
- 0
- 0
- 0
- 0
- 2
- over 1 year ago
- July 29, 2023
License
MIT License
Links
Synced at
Sun, 22 Dec 2024 05:56:13 GMT
Languages