http

package
v0.0.0-...-78262f5 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(client *http.Client, harStruct HarRequestType) (summary.Res, error)

Types

type HarRequestType

type HarRequestType struct {
	Seq         int //请求序列
	Method      string
	Url         string
	Mode        string
	HttpVersion string
	Cookies     []harCookieType
	Headers     []harHeaderType
	QueryString []interface{}
	PostData    postDataType
	HeadersSize int
	BodySize    int
}

type RunnerGoType

type RunnerGoType struct {
	Method  string
	Url     string
	Mode    string
	Cookies []harCookieType
	Headers map[string]string
}

Jump to

Keyboard shortcuts

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