# README
rawhttp
rawhttp is a Go package for making HTTP requests in a raw way.
- Forked and adapted from https://github.com/gorilla/http and https://github.com/valyala/fasthttp
- The original idea is inspired by @tomnomnom/rawhttp work
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