Categorygithub.com/B9O2/rawhttp
modulepackage
0.1.33
Repository: https://github.com/b9o2/rawhttp.git
Documentation: pkg.go.dev

# README

rawhttp

License Go version Release Checks GoDoc

rawhttp is a Go package for making HTTP requests in a raw way.

Library Usage

A simple example to get started with rawhttp is available at examples. For documentation, please refer godoc

Note

rawhttp internally uses fastdialer to dial connections and fastdialer has a disk cache for DNS lookups. While using rawhttp .Close() method should be called at end of the program to remove temporary files created by fastdialer.

License

rawhttp is distributed under MIT License

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

DumpRequestRaw to string.
No description provided by the author
NewClient creates a new rawhttp client with provided options.
No description provided by the author
NewPipelineClient creates a new pipelined http request client.
TlsHandshake tls handshake on a plain connection.

# Variables

DefaultOptions is the default configuration options for the client.
DefaultPipelineOptions is the default options for pipelined http client.

# Structs

No description provided by the author
Client is a client for making raw http requests with go.
No description provided by the author
Options contains configuration options for rawhttp client.
PipelineClient is a client for making pipelined http requests.
PipelineOptions contains options for pipelined http client.
RedirectStatus is the current redirect status for the request.
StatusError is a HTTP status error object.

# Interfaces

Conn is an interface implemented by a connection.
Dialer can dial a remote HTTP server.
No description provided by the author