object Client
- Source
- Client.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Client
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
Deprecated Value Members
-
def
fromHttpService[F[_]](service: HttpRoutes[F])(implicit F: Sync[F]): Client[F]
Creates a client from the specified service.
Creates a client from the specified service. Useful for generating pre-determined responses for requests in testing.
- service
the service to respond to requests to this client
- Annotations
- @deprecated
- Deprecated
(Since version 0.19) Use fromHttpApp instead. Call service.orNotFound to turn into an HttpApp.