Inheritance
ResponseHeaderUtils
Assembly: Worldline.Connect.Sdk.dll
public static class ResponseHeaderUtils
Methods
Declaration
public static string GetDispositionFilename(this IEnumerable<ResponseHeader> headers)
Parameters
Returns
Type |
Description |
string |
The value of the filename parameter of the Content-Disposition header from this,
or null if there was no such header or parameter.
|
Declaration
public static IResponseHeader GetHeader(this IEnumerable<IResponseHeader> headers, string headerName)
Parameters
Returns
Type |
Description |
IResponseHeader |
The header from this with the given name, or null if there was no such header.
|
Declaration
public static string GetHeaderValue(this IEnumerable<IResponseHeader> headers, string headerName)
Parameters
Returns
Type |
Description |
string |
The value of the header from this with the given name, or null if there was no such header.
|