mirror of
https://github.com/codex-storage/nim-websock.git
synced 2025-01-23 08:59:28 +00:00
64da1a4344
* wip * wip * move http under ws folder * use asyctest * wip * wip * rework response sending * make example work with latest changes * wip request/response * misc * fix example to use new http layer * pass tls flags to client * more cleanup * unused imports * more unsused imports * better headers * add helpre sendError * export sendError * attach selected proto to session * move proto to session * handle unsupported version * fix tests * comment out for now * fix utf8 tests * allow tests to be ran in tls * misc * use Port type * add tls flags * better api * run tls tests * fix tests on windows * allow running tests with tls * mic * wip * fix autobahn ci * handle close * cleanup * logging and error handling * remove old stream
14 lines
337 B
Nim
14 lines
337 B
Nim
import std/uri
|
|
import pkg/[
|
|
chronos,
|
|
chronos/apps/http/httptable,
|
|
chronos/streams/tlsstream,
|
|
httputils]
|
|
|
|
import ./http/client, ./http/server, ./http/common
|
|
|
|
export uri, httputils, client, server, httptable, tlsstream
|
|
export TlsHttpClient, HttpClient, HttpServer,
|
|
HttpResponse, HttpRequest, closeWait, sendResponse,
|
|
sendError
|