Mime |
public Task<HeaderList> ParseHeadersAsync( CancellationToken cancellationToken = default )
Exception | Condition |
---|---|
OperationCanceledException | The operation was canceled via the cancellation token. |
FormatException | There was an error parsing the headers. |
IOException | An I/O error occurred. |