httputilz

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2020 License: MIT Imports: 8 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpRequest

func DumpRequest(req *retryablehttp.Request) (string, error)

DumpRequest to string

func DumpResponse added in v0.0.5

func DumpResponse(resp *http.Response) (string, error)

DumpResponse to string

func ParseRequest added in v1.0.0

func ParseRequest(req string) (method string, path string, headers map[string]string, body string, err error)

ParseRequest from raw string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL