mirror of
https://github.com/codex-storage/nim-websock.git
synced 2025-01-23 00:49:15 +00:00
6b76bd8261
* Update http to use chronos http. * Implement TLS in websocket. * Add webscoket TLS test. * Minor nit. * Add TLS test file. * Update http to use chronos http. (#6) * Update http to use chronos http. * Add stream.nim file. * Address comments. * Fix CI failure. * Minor change. * Address comments. * Fix windows CI failing test. * minor cleanup * spacess * more idiomatic connect * use stew/base10 Co-authored-by: Dmitriy Ryajov <dryajov@gmail.com> * Implement TLS in websocket. * Minor nit. * merge master * wip * Update http to use chronos http. (#6) * Update http to use chronos http. * Add stream.nim file. * Address comments. * Fix CI failure. * Minor change. * Address comments. * Fix windows CI failing test. * minor cleanup * spacess * more idiomatic connect * use stew/base10 Co-authored-by: Dmitriy Ryajov <dryajov@gmail.com> * Update http to use chronos http. * Implement TLS in websocket. * Minor nit. * Update http to use chronos http. (#6) * Update http to use chronos http. * Add stream.nim file. * Address comments. * Fix CI failure. * Minor change. * Address comments. * Fix windows CI failing test. * minor cleanup * spacess * more idiomatic connect * use stew/base10 Co-authored-by: Dmitriy Ryajov <dryajov@gmail.com> * Implement TLS in websocket. * Minor nit. * add testing keys * wip * fix test * wip * remove eth dep and add skipdirs * fix package structure * fix deps * check nim version * Fix CI failure. * Don't call `ws.stream.closeWait()` * always close both ends to complete the sequence * misc * don't fail on close * Fix windows CI. * fix linux x86 builds * use consistent connect pattern * move keys to better place * return dumbResponse * small cleanup Co-authored-by: Dmitriy Ryajov <dryajov@gmail.com>
23 lines
633 B
Nim
23 lines
633 B
Nim
packageName = "ws"
|
|
version = "0.1.0"
|
|
author = "Status Research & Development GmbH"
|
|
description = "WS protocol implementation"
|
|
license = "MIT"
|
|
skipDirs = @["examples", "test"]
|
|
|
|
requires "nim >= 1.2.6"
|
|
requires "chronos >= 2.5.2"
|
|
requires "httputils >= 0.2.0"
|
|
requires "chronicles >= 0.10.0"
|
|
requires "stew >= 0.1.0"
|
|
requires "asynctest >= 0.2.0 & < 0.3.0"
|
|
requires "nimcrypto"
|
|
requires "bearssl"
|
|
|
|
task test, "run tests":
|
|
exec "nim c -r --opt:speed -d:debug --verbosity:0 --hints:off ./tests/testall.nim"
|
|
rmFile "./tests/testall"
|
|
rmFile "./tests/testwebsockets"
|
|
rmFile "./tests/testframes"
|
|
rmFile "./tests/testtlswebsockets"
|