kong.router

    A set of functions to access the routing properties of the request.

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

    • access, header_filter, response, body_filter, log

    Returns

    Usage

    kong.router.get_service()

    Phases

    • access, header_filter, response, body_filter, log

    Returns

    • table: The service entity.
    1. else
    2. end