/// <summary> /// Writes a set of headers. /// </summary> /// <param name="headers">A set of headers to write to the request.</param> public void WriteHeader(PreparedHeaderSet headers) => _request.WriteHeader(_requestVersion, headers);
/// <summary> /// Writes a set of headers. /// </summary> /// <param name="version">The version of the request to operate on. This must be validated by implementations.</param> /// <param name="headers">A set of headers to write to the request.</param> protected internal abstract void WriteHeader(int version, PreparedHeaderSet headers);