nwaku/waku/waku_api/rest/client.nim

7 lines
168 B
Nim
Raw Normal View History

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