Method | Description | |
---|---|---|
CanWriteType ( |
||
GetPerRequestFormatterInstance ( |
Override this method to capture the Request object and look for the query string parameter and create a new instance of this formatter. This is the only place in a formatter where the Request object is available.
|
|
JsonpFormatter ( ) : System | ||
WriteToStreamAsync ( |
Override to wrap existing JSON result with the JSONP function call
|
Method | Description | |
---|---|---|
GetJsonCallbackFunction ( |
Retrieves the Jsonp Callback function from the query string
|
public GetPerRequestFormatterInstance ( |
||
type | ||
request | ||
mediaType | ||
return | System.Net.Http.Formatting.MediaTypeFormatter |
public WriteToStreamAsync ( |
||
type | ||
value | object | |
stream | Stream | |
contentHeaders | ||
transportContext | System.Net.TransportContext | |
return | System.Threading.Tasks.Task |