A stub of a synchronous backend.
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
class WebSocketSyncBackendStubtrait WebSocketSyncBackendtrait WebSocketBackend[Identity]trait SyncBackendclass Objecttrait Matchableclass AnyShow all
- Self type
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- AbstractBackendStub
- Supertypes
-
class Objecttrait Matchableclass Any
Inherited types
Attributes
- Inherited from:
- WebSocketSyncBackendStub
Value members
Concrete methods
Create a stub backend which delegates send requests to the given fallback backend, if the request doesn't match any of the specified predicates.
Create a stub backend which delegates send requests to the given fallback backend, if the request doesn't match any of the specified predicates.
Attributes
Inherited methods
Close the backend, releasing any resources (such as thread or connection pools) that have been allocated when opening or using the backend.
Close the backend, releasing any resources (such as thread or connection pools) that have been allocated when opening or using the backend.
Attributes
- Definition Classes
- Inherited from:
- AbstractBackendStub
A monad instance for the F
effect type. Allows writing wrapper backends, which map
/`flatMap`` over the return value of send.
A monad instance for the F
effect type. Allows writing wrapper backends, which map
/`flatMap`` over the return value of send.
Attributes
- Definition Classes
- Inherited from:
- SyncBackend
Send the given request. Should only be used when implementing new backends, or backend wrappers. Client code should instead use the send
methods on the request type, e.g. Request.send.
Send the given request. Should only be used when implementing new backends, or backend wrappers. Client code should instead use the send
methods on the request type, e.g. Request.send.
Attributes
- Definition Classes
- Inherited from:
- AbstractBackendStub
Specify how the stub backend should respond to any request (catch-all).
Specify how the stub backend should respond to any request (catch-all).
Note that the stubs are immutable, and each new specification that is added yields a new stub instance.
Attributes
- Inherited from:
- AbstractBackendStub
Specify how the stub backend should respond to requests matching the given predicate.
Specify how the stub backend should respond to requests matching the given predicate.
Note that the stubs are immutable, and each new specification that is added yields a new stub instance.
Attributes
- Inherited from:
- AbstractBackendStub
Specify how the stub backend should respond to requests using the given partial function.
Specify how the stub backend should respond to requests using the given partial function.
Note that the stubs are immutable, and each new specification that is added yields a new stub instance.
Attributes
- Inherited from:
- AbstractBackendStub