ServerGrpcClient
Helpers to test gRPC clients with Play using Specs2.
Mixes a method into PekkoGrpcClientHelpers that knows how to configure gRPC clients for the running server.
Attributes
- Graph
-
- Supertypes
-
trait PekkoGrpcClientHelpersclass Objecttrait Matchableclass Any
Members list
Type members
Inherited classlikes
Runs a block of code with a gRPC client, closing the client afterwards.
Runs a block of code with a gRPC client, closing the client afterwards.
Type parameters
- T
-
The type of gRPC client.
Attributes
- Inherited from:
- PekkoGrpcClientHelpers
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Inherited methods
Get a gRPC client to connect to the currently running test server. Remember to close it afterwards, or use withGrpcClient to have it closed automatically.
Get a gRPC client to connect to the currently running test server. Remember to close it afterwards, or use withGrpcClient to have it closed automatically.
Attributes
- Inherited from:
- PekkoGrpcClientHelpers
Create a gRPC client to connect to the currently running test server.
Create a gRPC client to connect to the currently running test server.
Type parameters
- T
-
The type of client to create.
Attributes
- Inherited from:
- PekkoGrpcClientHelpers
Implicits
Implicits
Configure the factory by combining the app and the current implicit server information
Configure the factory by combining the app and the current implicit server information