Documentation ¶
Index ¶
Constants ¶
View Source
const TypeNode = "xhttp"
Variables ¶
View Source
var ( ContentTypeApplicationJSON = constants.ContentTypeApplicationJSON ContentTypeTextPlain = constants.ContentTypeTextPlain ContentTypeUrlencoded = constants.ContentTypeUrlencoded )
Functions ¶
func NewBuilder ¶
func NewBuilder() container.StandardBuilder
Types ¶
type RequestOption ¶
type RequestOption func(*Options)
func WithContentType ¶
func WithContentType(contentType string) RequestOption
func WithHeaders ¶
func WithHeaders(header map[string]string) RequestOption
func WithMethod ¶
func WithMethod(method string) RequestOption
func WithXRequestID ¶
func WithXRequestID(requestID string) RequestOption
type StandardHttp ¶
Click to show internal directories.
Click to hide internal directories.