nim-chronos/chronos/apps/http/httpagent.nim
Eugene Kabanov b18d471629
Asyncraises HTTP client/server. (#476)
* Fixes.

* Make httpcommon no-raises.

* Make httpbodyrw no-raises.

* Make multipart no-raises.

* Make httpdebug no-raises.

* Make httpagent no-raises.

* Make httpclient no-raises.

* Make httpserver/shttpserver no-raises.

* fix prepend/remove when E is noraises

---------

Co-authored-by: Jacek Sieka <jacek@status.im>
2023-11-21 11:01:44 +01:00

28 lines
898 B
Nim

#
# Chronos HTTP/S client implementation
# (c) Copyright 2021-Present
# Status Research & Development GmbH
#
# Licensed under either of
# Apache License, version 2.0, (LICENSE-APACHEv2)
# MIT license (LICENSE-MIT)
{.push raises: [].}
import strutils
const
ChronosName* = "nim-chronos"
## Project name string
ChronosMajor* {.intdefine.}: int = 3
## Major number of Chronos' version.
ChronosMinor* {.intdefine.}: int = 0
## Minor number of Chronos' version.
ChronosPatch* {.intdefine.}: int = 2
## Patch number of Chronos' version.
ChronosVersion* = $ChronosMajor & "." & $ChronosMinor & "." & $ChronosPatch
## Version of Chronos as a string.
ChronosIdent* = "$1/$2 ($3/$4)" % [ChronosName, ChronosVersion, hostCPU,
hostOS]
## Project ident name for networking services