endpoints4s.http4s.client.EndpointsWithCustomErrors.Endpoint
final class Endpoint[
A,
B](
val request: ()
=> A,
val response: ()
=> B)
Information carried by an HTTP endpoint
Values of type Endpoint can be constructed by using the operation endpoint.
Type parameters
-
A
-
Information carried by the request
-
B
-
Information carried by the response
Attributes
-
Note
-
This type has implicit methods provided by the EndpointSyntax class
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
Members list
This method returns a Resource[Effect, B] unlike sendAndConsume
this is always safe to use in regard to laziness
This method returns a Resource[Effect, B] unlike sendAndConsume
this is always safe to use in regard to laziness
Attributes
This method might suffer from leaking resource if the handling of the underlying resource is lazy. Use send
instead in this case.
This method might suffer from leaking resource if the handling of the underlying resource is lazy. Use send
instead in this case.
Attributes
Attributes
-
Deprecated
-
true