nwaku/waku/v2/node/rest/client.nim
2022-06-14 18:20:15 +02:00

7 lines
174 B
Nim

{.push raises: [Defect].}
import presto/client
proc newRestHttpClient*(address: TransportAddress): RestClientRef =
RestClientRef.new(address, HttpClientScheme.NonSecure)