Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Net.​Http.​HttpRequestOptions
Assembly: System.Net.Http
Inheritance: object → HttpRequestOptions
Implemented Interfaces
- Collections.​Generic.​IDictionary`2 (Inherits: ICollection<​KeyValuePair<​string, object>>IEnumerable<​KeyValuePair<​string, object>>IEnumerable)
- Collections.​Generic.​IReadOnlyDictionary`2 (Inherits: IEnumerable<​KeyValuePair<​string, object>>IEnumerableIReadOnlyCollection<​KeyValuePair<​string, object>>)
Represents a collection of options for an HTTP request.
Methods
public
void
Set​(HttpRequestOptionsKey<​TValue> key,
TValue value)
Sets the value of a specified HTTP request option.
key
The strongly typed key for the HTTP request option.
value
The value of the HTTP request option.
public
bool
TryGetValue​(HttpRequestOptionsKey<​TValue> key,
TValue& value)
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object