Skip to content

paytonward6/http-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http-tool

Clojars Project

Clojure HTTP client using only java.net

Installation

Leiningen/Boot

[com.github.paytonward6/http-tool "0.1.1"]

Clojure CLI/deps.edn

com.github.paytonward6/http-tool {:mvn/version "0.1.1"}

Gradle

implementation("com.github.paytonward6:http-tool:0.1.1")

Usage

(require '[http-tool.client :as http])

(def response (http/get-url "https://google.com"))

;; Returns a hash map of:
;;
;;  {:body "..."
;;   :url "https://google.com"
;;   :status 200
;;   :headers {:status 200 :content-type "text/html; charset=ISO-8859-1" ...}
;;   :version 2}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published