Method | Description | |
---|---|---|
WriteErrorToResponse ( this response, EndpointAttributes contentType, string operationName, string errorMessage, |
||
WriteErrorToResponse ( this response, string contentType, string operationName, string errorMessage, |
||
WriteTextToResponse ( this response, string text, string defaultContentType ) : void | ||
WriteToOutputStream ( Stream responseStream, object result ) : bool | ||
WriteToResponse ( this response, object result, StreamSerializerDelegate defaultAction, string defaultContentType ) : bool |
Writes to response. Response headers are customizable by implementing IHasOptions an returning Dictionary of Http headers.
|
|
WriteToResponse ( this response, object result, string defaultContentType ) : bool |
Writes to response.
|
Method | Description | |
---|---|---|
WriteJsonErrorToResponse ( this response, string operationName, string errorMessage, |
||
WriteJsvErrorToResponse ( this response, string operationName, string errorMessage, |
||
WriteXmlErrorToResponse ( this response, string operationName, string errorMessage, |
public static WriteErrorToResponse ( this response, EndpointAttributes contentType, string operationName, string errorMessage, |
||
response | this | |
contentType | EndpointAttributes | |
operationName | string | |
errorMessage | string | |
ex | ||
return | void |
public static WriteErrorToResponse ( this response, string contentType, string operationName, string errorMessage, |
||
response | this | |
contentType | string | |
operationName | string | |
errorMessage | string | |
ex | ||
return | void |
public static WriteTextToResponse ( this response, string text, string defaultContentType ) : void | ||
response | this | |
text | string | |
defaultContentType | string | |
return | void |
public static WriteToOutputStream ( Stream responseStream, object result ) : bool | ||
responseStream | Stream | |
result | object | |
return | bool |
public static WriteToResponse ( this response, object result, StreamSerializerDelegate defaultAction, string defaultContentType ) : bool | ||
response | this | The response. |
result | object | Whether or not it was implicity handled by ServiceStack's built-in handlers. |
defaultAction | StreamSerializerDelegate | The default action. |
defaultContentType | string | Default response ContentType. |
return | bool |
public static WriteToResponse ( this response, object result, string defaultContentType ) : bool | ||
response | this | The response. |
result | object | Whether or not it was implicity handled by ServiceStack's built-in handlers. |
defaultContentType | string | Default response ContentType. |
return | bool |