A functional domain to model Http apps using ZIO and that can work over any kind of request and response types.
- Companion:
- object
Value members
Concrete methods
Runs self but if it fails, runs other, ignoring the result from self.
Runs self but if it fails, runs other, ignoring the result from self.
Attaches the provided middleware to the Http app
Attaches the provided middleware to the Http app
Extracts body as a string
Extracts body as a string
Catches all the exceptions that the http app can fail with
Catches all the exceptions that the http app can fail with
Collects some of the results of the http and converts it to another type.
Collects some of the results of the http and converts it to another type.
Collects some of the results of the http and effectfully converts it to another type.
Collects some of the results of the http and effectfully converts it to another type.
Extracts content-length from the response if available
Extracts content-length from the response if available
Transforms the input of the http before passing it on to the current Http
Transforms the input of the http before passing it on to the current Http
Transforms the input of the http before passing it on to the current Http
Transforms the input of the http before passing it on to the current Http
Transforms the input of the http before giving it effectfully
Transforms the input of the http before giving it effectfully
Named alias for ++
Named alias for ++
Delays production of output B for the specified duration of time
Delays production of output B for the specified duration of time
Delays production of output B for the specified duration of time
Delays production of output B for the specified duration of time
Delays consumption of input A for the specified duration of time
Delays consumption of input A for the specified duration of time
Folds over the http app by taking in two functions one for success and one for failure respectively.
Folds over the http app by taking in two functions one for success and one for failure respectively.
Extracts the value of the provided header name.
Extracts the value of the provided header name.
Named alias for @@
Named alias for @@
Provide part of the environment to HTTP that is not part of ZEnv
Provide part of the environment to HTTP that is not part of ZEnv
Provides layer to Http.
Provides layer to Http.
Provides some of the environment to Http leaving the remainder R0
.
Provides some of the environment to Http leaving the remainder R0
.
Returns an Http that peeks at the success of this Http.
Returns an Http that peeks at the success of this Http.
Returns an Http that peeks at the success, failed or empty value of this Http.
Returns an Http that peeks at the success, failed or empty value of this Http.
Returns an Http that effectfully peeks at the success, failed or empty value of this Http.
Returns an Http that effectfully peeks at the success, failed or empty value of this Http.
Returns an Http that peeks at the failure of this Http.
Returns an Http that peeks at the failure of this Http.
Returns an Http that effectfully peeks at the failure of this Http.
Returns an Http that effectfully peeks at the failure of this Http.
Returns an Http that effectfully peeks at the success of this Http.
Returns an Http that effectfully peeks at the success of this Http.