Skip to content

Instantly share code, notes, and snippets.

@gabbhack
gabbhack / http_client_pool.nim
Created March 20, 2021 06:10 — forked from jackhftang/http_client_pool.nim
Nim HttpClientPool
import asyncdispatch
import deques
import options
import httpclient
import strformat
export httpclient # for AsyncResponse
#[
Wrapping AsyncHttpClient for pooling and timeout, also see

Demo:

Spoiler warning

Spoiler text. Note that it's important to have a space after the summary tag. You should be able to write any markdown you want inside the <details> tag... just make sure you close <details> afterward.

console.log("I'm a code block!");