Skip to main content

deploy_service

Function deploy_service 

Source
pub fn deploy_service(
    state: ServerState,
) -> Result<DeployServiceServer<DeployGrpcService>, ServerError>
Expand description

Construct the generated tonic server wrapper with a decode ceiling sized from deploy.max_archive_bytes.

ยงErrors

Returns crate::ServerError::Config when the deploy surface is enabled without the required deploy.max_archive_bytes (defense in depth; config validation refuses this earlier).