ResourceResponse Class
ResourceResponse class
One hop’s answer: a body with a status and media type, or a redirect.
public sealed class ResourceResponse
Constructors
| Name | Description |
|---|---|
| ResourceResponse(int, string, byte[]) | A body; the bytes are copied. |
Properties
| Name | Description |
|---|---|
| Body { get; } | A copy of the body. |
| MediaType { get; } | The media type; empty for a redirect. |
| RedirectLocation { get; } | The redirect target, or null. |
| StatusCode { get; } | The status. |
Methods
| Name | Description |
|---|---|
| static Redirect(int, string) | A redirect to location, resolved against the request URL. |
See Also
- namespace Aspose.Css.Net
- assembly Aspose.CSS