mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-04 06:53:12 +00:00
* Rename waku_api to rest_api and underlying rest to endpoint for clearity * Rename node/api to node/kernel_api to suggest that it is an internal accessor to node interface + make everything compile after renaming * make waku api a top level import * fix use of relative path imports and use default to root rather in case of waku and tools modules
7 lines
168 B
Nim
7 lines
168 B
Nim
{.push raises: [].}
|
|
|
|
import presto/client
|
|
|
|
proc newRestHttpClient*(address: TransportAddress): RestClientRef =
|
|
RestClientRef.new(address, HttpClientScheme.NonSecure)
|