Вопросы по теме 'http-kit'
Как определить, что обратный вызов клиента http-kit вызывается из-за тайм-аута?
Например:
(:require [org.httpkit.client :as http])
(defn post-callback
[]
;; how to know if it is due to timeout?
)
(def options {:body "abc" :timeout 1000})
(http/post "some-url" options post-callback)
Если «какой-то URL-адрес» не...
581 просмотров
schedule
02.11.2023