Method Parse
Parse(String)
Parses the data
provided into either a
Declaration
public abstract T Parse(string data)
Parameters
Type | Name | Description |
---|---|---|
System.String | data | A string containing the HTTP message to parse. |
Returns
Type | Description |
---|---|
T | Either a |
Parse(T, Net.Http.Headers.HttpHeaders, String)
Parses a string containing either an HTTP request or response into a
Declaration
protected virtual HttpContent Parse(T message, Net.Http.Headers.HttpHeaders headers, string data)
Parameters
Type | Name | Description |
---|---|---|
T | message | A |
System.Net.Http.Headers.HttpHeaders | headers | A reference to the |
System.String | data | A string containing the data to be parsed. |
Returns
Type | Description |
---|---|
HttpContent | An |