HttpRequestData (class)
public abstract HttpRequestData
Import from: CURL.GUI.STANDARD. Defined in package CURL.IO.HTTP.
Direct Known Subclasses: HttpFormData

Base class for data to be sent with Http request.

Notes

HttpFormData provides a basic implementation of this for sending form style data.

Properties
content-type:The content type of the request data.
accessor public abstract HttpRequestData.content-type:#String
Methods
request-data:The data to be sent with Http request.
public abstract {HttpRequestData.request-data}:{Array-of byte}
Methods inherited from Object: object-describe, object-describe-for-debugging, object-serialize

Property Details
content-type (accessor)
accessor public abstract HttpRequestData.content-type:#String

The content type of the request data.

Description

The string will be put in the request header as a value of "Content-Type".

Notes

This overrides any "Content-Type" header in request-headers.


Method Details
request-data (method)
public abstract {HttpRequestData.request-data}:{Array-of byte}

The data to be sent with Http request.