rest-vir - v2.2.0
    Preparing search index...

    Function buildMethodNotAllowedMessage

    • Build the 405 Method Not Allowed message used when either the request's HTTP method is unrecognized or the resolved method isn't defined on the matched route. Shared between the mock-host fetch wrapper and the host package's pre-handler so both paths surface the same string.

      Parameters

      • __namedParameters: Readonly<{ method: string | undefined; url: string }>

      Returns string