Struct grpcio::ServiceBuilder[][src]

pub struct ServiceBuilder { /* fields omitted */ }

Service factory in order to configure the properties.

Use it to build a service which can be registered to a server.

Methods

impl ServiceBuilder
[src]

Initialize a new ServiceBuilder.

Add a unary RPC call handler.

Add a client streaming RPC call handler.

Add a server streaming RPC call handler.

Add a duplex streaming RPC call handler.

Finalize the ServiceBuilder and build the Service.

Auto Trait Implementations