- Namespace
- RestSharp.Portable
- Assembly
- RestSharp.Portable.Core.dll
public interface IHttpHeaders : IEnumerable<KeyValuePair<string, IEnumerable<string>>>, IEnumerable
- Extension Methods
-
Methods
void Add(string name, IEnumerable<string> values)
Parameters
name
string
values
IEnumerable<string>
void Add(string name, string value)
Parameters
name
string
value
string
bool Contains(string name)
Parameters
name
string
Returns
- bool
IEnumerable<string> GetValues(string name)
Parameters
name
string
Returns
- IEnumerable<string>
Parameters
name
string
Returns
- bool
bool TryAddWithoutValidation(string name, IEnumerable<string> values)
Parameters
name
string
values
IEnumerable<string>
Returns
- bool
bool TryAddWithoutValidation(string name, string value)
Parameters
name
string
value
string
Returns
- bool
bool TryGetValues(string name, out IEnumerable<string> values)
Parameters
name
string
values
IEnumerable<string>
Returns
- bool