Skip to content

HttpRoute

Source code in docs_src/capo_app_mesh/types/http_route.py
class HttpRoute(TypedDict, closed=True):
    match: "capo_app_mesh.types.http_route_match.HttpRouteMatch"
    """<p>An object that represents the criteria for determining a request match.</p>"""
    action: "capo_app_mesh.types.http_route_action.HttpRouteAction"
    """<p>An object that represents the action to take if a match is determined.</p>"""
    retry_policy: NotRequired["capo_app_mesh.types.http_retry_policy.HttpRetryPolicy"]
    """<p>An object that represents a retry policy.</p>"""
    timeout: NotRequired["capo_app_mesh.types.http_timeout.HttpTimeout"]
    """<p>An object that represents types of timeouts. </p>"""

action instance-attribute

An object that represents the action to take if a match is determined.

match instance-attribute

An object that represents the criteria for determining a request match.

retry_policy instance-attribute

retry_policy: NotRequired[HttpRetryPolicy]

An object that represents a retry policy.

timeout instance-attribute

timeout: NotRequired[HttpTimeout]

An object that represents types of timeouts.