Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContentType ¶
type ContentType int
const ( TypeUnknown ContentType = iota TypeCSS TypeCSV TypeGRPC TypeHTML TypeImage TypeJSON TypeMsgPack TypeNDJSON TypeProtobuf TypeSSE TypeXML )
type Request ¶
type Request struct {
AWSSigv4 *aws.Config
Basic *core.KeyVal[string]
Bearer string
CACerts []*x509.Certificate
ClientCert *tls.Certificate
Clobber bool
ContentType string
Data io.Reader
DNSServer *url.URL
DryRun bool
Edit bool
Form []core.KeyVal[string]
Format core.Format
GRPC bool
Headers []core.KeyVal[string]
HTTP core.HTTPVersion
IgnoreStatus bool
Image core.ImageSetting
Insecure bool
NoEncode bool
NoPager bool
Method string
Multipart *multipart.Multipart
Output string
PrinterHandle *core.Handle
ProtoDesc string
ProtoFiles []string
ProtoImports []string
Proxy *url.URL
QueryParams []core.KeyVal[string]
Range []string
Redirects *int
RemoteHeaderName bool
RemoteName bool
Timeout time.Duration
TLS uint16
UnixSocket string
URL *url.URL
Verbosity core.Verbosity
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.