Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: aadae9aa1f
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (9 sloc) 0.357 kb

About

httplib.go is a simple extension of Go's http client that provides keep-alive connections and generic requests.

Usage

This is a small usage example:

//get the google home page
c := new(httplib.Client)
resp, err := c.Request ("http://google.com", "GET", nil, "")
data := ioutil.ReadAll( resp.Body )
println(string(data))
Jump to Line
Something went wrong with that request. Please try again.