IHttpResponse
Overview
The IHttpResponse interface represents HTTP responses from RemObject SDK-based servers.
Location
- Reference: RemObjects.SDK.Server.dll
- Namespace: RemObjects.SDK.Server
- Ancestry: IHttpResponse
Properties
ContentType
The MIME type of this response's content. For example: if this instance contains a .png picture, the ContentType should be set to 'image/png'.
Most notable MIME types are listed on this Wikipedia page.
property ContentType: String read write;
String ContentType { get; set; }
Property ContentType() As String
Header
Collection of the HTTP headers of this response. This property can be used to set HTTP headers such as 'Cache-Control' or 'Content-Disposition'.
property Header: IHttpHeader read;
IHttpHeader Header { get; }
ReadOnly Property Header() As IHttpHeader
HttpCode
property HttpCode: HttpStatusCode read write;
HttpStatusCode HttpCode { get; set; }
Property HttpCode() As HttpStatusCode