• Escapes a string to be included into quoted-string within HTTP header value.

    Replaces \ with \, and " with \".

    Parameters

    • string: string

      A string to escape.

    Returns string

    Escaped string.

Generated using TypeDoc