mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-04 15:03:08 +00:00
10 lines
240 B
Nim
10 lines
240 B
Nim
when (NimMajor, NimMinor) < (1, 4):
|
|
{.push raises: [Defect].}
|
|
else:
|
|
{.push raises: [].}
|
|
|
|
import presto/client
|
|
|
|
proc newRestHttpClient*(address: TransportAddress): RestClientRef =
|
|
RestClientRef.new(address, HttpClientScheme.NonSecure)
|