package
1.0.150
Repository: https://github.com/ibm/fp-go.git
Documentation: pkg.go.dev

# Functions

Header returns a [L.Lens] for a single header.
MakeHash converts a [Builder] into a hash string, convenient to use as a cache key.
QueryArg is a [L.Lens] for the first value of a query argument.
WithHeader creates a [Endomorphism] for a certain header.
WithJson creates a [Endomorphism] to send JSON payload Deprecated: use [WithJSON] instead.
WithJSON creates a [Endomorphism] to send JSON payload.
WithoutHeader creates a [Endomorphism] to remove a certain header.
WithoutQueryArg creates a [Endomorphism] that removes a query argument.
WithQueryArg creates a [Endomorphism] for a certain query argument.

# Variables

Body is a [L.Lens] for the request body.
Default is the default builder.
Headers is a [L.Lens] for the complete set of request headers.
Method is a [L.Lens] for the HTTP method.
Monoid is the [M.Monoid] for the [Endomorphism].
Query is a [L.Lens] for the set of query parameters.
Url is a [L.Lens] for the URL Deprecated: use [URL] instead.
URL is a [L.Lens] for the URL.
WithAuthorization adds the [H.Authorization] header.
WithBearer creates a [Endomorphism] to add a Bearer [H.Authorization] header.
WithBody creates a [Endomorphism] for a request body.
WithBytes creates a [Endomorphism] for a request body using bytes.
WithContentType adds the [H.ContentType] header.
WithDelete adds the [http.MethodDelete] method.
WithFormData creates a [Endomorphism] to send form data payload.
WithGet adds the [http.MethodGet] method.
WithHeaders creates a [Endomorphism] for a set of headers.
WithMethod creates a [Endomorphism] for a certain method.
WithoutBody creates a [Endomorphism] to remove the body.
WithPost adds the [http.MethodPost] method.
WithPut adds the [http.MethodPut] method.
WithQuery creates a [Endomorphism] for a complete set of query parameters.
WithUrl creates a [Endomorphism] for the URL Deprecated: use [WithURL] instead.
WithURL creates a [Endomorphism] for the URL.

# Structs

No description provided by the author