Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A lightweight client for sending reusable HTTP/HTTPS requests

Features

Thread Safe: Safe to use in multi-threaded applications.

Connection Pooling: Efficient management of connections for improved performance.

Simple Request Building: Easy to create and customize requests.

Creating a client

Arguments:

Max Connections

Read Buffer Size

TLS Config

var client *Client = createClient(100, 0, nil)

Creating a request

var request *Request = createRequest()

Usage

	// Not SSL
	request.SetURI("http://example.org/")
	var body = client.Do(request)
	fmt.Println(string(body))

	// SSL
	request.SetURI("https://example.org/")
	body = client.Do(request)
	fmt.Println(string(body))

About

A lightweight client for making HTTP/HTTPS requests

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages