package
0.9.5
Repository: https://github.com/cloudwego/hertz.git
Documentation: pkg.go.dev

# 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

AcquireCookie returns an empty Cookie object from the pool.
AcquireRequest returns an empty Request instance from request pool.
AcquireResponse returns an empty Response instance from response pool.
AcquireURI returns an empty URI instance from the pool.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewRequest makes a new Request given a method, URL, and optional body.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReleaseCookie returns the Cookie object acquired with AcquireCookie back to the pool.
ReleaseRequest returns req acquired via AcquireRequest to request pool.
ReleaseResponse return resp acquired via AcquireResponse to response pool.
ReleaseURI releases the URI acquired via AcquireURI.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WriteMultipartForm writes the given multipart form f with the given boundary to w.
No description provided by the author

# Constants

No description provided by the author
CookieSameSiteDefaultMode sets the SameSite flag.
CookieSameSiteDisabled removes the SameSite flag.
CookieSameSiteLaxMode sets the SameSite flag with the "Lax" parameter.
CookieSameSiteNoneMode sets the SameSite flag with the "None" parameter see https://tools.ietf.org/html/draft-west-cookie-incrementalism-00 third-party cookies are phasing out, use Partitioned cookies instead see https://developers.google.com/privacy-sandbox/3pcd.
CookieSameSiteStrictMode sets the SameSite flag with the "Strict" parameter.

# Variables

CookieExpireDelete may be set on Cookie.Expire for expiring the given cookie.
CookieExpireUnlimited indicates that the cookie doesn't expire.
No description provided by the author
NoBody is an io.ReadCloser with no bytes.
NoResponseBody is an io.ReadCloser with no bytes.
No description provided by the author
serverDateOnce.Do(updateServerDate).

# Structs

No description provided by the author
Cookie represents HTTP response cookie.
File struct represent file information for multipart request.
MultipartField struct represent custom data part for multipart request.
No description provided by the author
No description provided by the author
Response represents HTTP response.
ResponseHeader represents HTTP response header.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

CookieSameSite is an enum for the mode in which the SameSite flag should be set for the given cookie.
No description provided by the author