Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/narazaka/shiori-nim
SHIORI Protocol Parser / Builder for Nim
https://github.com/narazaka/shiori-nim
shiori shiori-protocol-parser ukagaka
Last synced: about 1 month ago
JSON representation
SHIORI Protocol Parser / Builder for Nim
- Host: GitHub
- URL: https://github.com/narazaka/shiori-nim
- Owner: Narazaka
- Created: 2017-10-04T16:55:56.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-20T21:20:09.000Z (almost 7 years ago)
- Last Synced: 2024-11-26T13:14:39.712Z (about 1 month ago)
- Topics: shiori, shiori-protocol-parser, ukagaka
- Language: Nim
- Size: 23.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# shiori
SHIORI Protocol Parser/Builder for Nim lang
## Install
```
nimble install shiori
```## Usage
**[API Document](https://narazaka.github.io/shiori-nim/)**
```nim
import shiorilet request = parseRequest("GET SHIORI/3.0\nCharset: UTF-8\n\n")
echo $requestvar response = newResponse(status: Status.OK, headers: {"Value": "foo"}.newOrderedTable)
response.version = "3.0"
response.charset = "UTF-8"
echo $response
```## License
This is released under [MIT License](https://narazaka.net/license/MIT?2017).