ray.serve.request_router.RequestRouter.supports_rejection_protocol#
- property RequestRouter.supports_rejection_protocol: bool#
Whether this router supports the rejection protocol.
The rejection protocol is used when replicas may reject requests due to being at capacity. Routers that guarantee capacity should return False to skip the rejection handling.
- Returns:
True if rejection protocol should be used, False otherwise.