kong.router

    Returns the current entity. The request was matched against this route.

    Phases

    • table the route entity.

    Usage

    Back to top

    kong.router.get_service()

    Phases

    • access, header_filter, response, body_filter, log

    Returns

    • table the service entity.
    1. -- routed by route & service entities
    2. else

    Back to top