PendingGrpcRegistration
class PendingGrpcRegistration
Methods
__construct(GrpcRouteRegistrar $registrar, GrpcRouter $router, array $attributes = [])
No description
middleware(array|string $middleware)
Append middleware to the registration.
withoutMiddleware(array|string $middleware)
Append middleware exclusions to the registration.
name(string $name)
Append a route-name prefix to the registration.
serverStream(string $method, array|string|callable $action)
Register a server-streaming RPC.
Details
at line 16
__construct(GrpcRouteRegistrar $registrar, GrpcRouter $router, array $attributes = [])
| internal |
No description
at line 26
PendingGrpcRegistration
middleware(array|string $middleware)
Append middleware to the registration.
at line 34
PendingGrpcRegistration
withoutMiddleware(array|string $middleware)
Append middleware exclusions to the registration.
at line 42
PendingGrpcRegistration
name(string $name)
Append a route-name prefix to the registration.
at line 53
Route
unary(string $method, array|string|callable $action)
Register a unary RPC.
at line 63
Route
serverStream(string $method, array|string|callable $action)
Register a server-streaming RPC.
at line 73
void
service(string $service, Closure $routes)
Register routes within a fully qualified gRPC service.