nwaku/waku/waku_api/rest/client.nim

7 lines
168 B
Nim

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