nwaku/waku/v2/node/rest/client.nim

7 lines
174 B
Nim
Raw Normal View History

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