Function head

  • Makes a head request to the specified url

    Parameters

    • url: string

      The URL to which the HTTP request will be sent.

    • Optional options: RequestOptions

      An optional object containing additional options for the request, such as headers

    Returns Promise<KnorryResponse>

    A Promise that resolves either with a primitive type containing the full response as the $res property or undefined

Generated using TypeDoc