Package | com.kaazing.gateway.client.html5 |
Class | public class HttpStream |
Inheritance | HttpStream ![]() |
Property | Defined by | ||
---|---|---|---|
authChallenge : String [read-only]
| HttpStream | ||
onerror : Function
The onerror handler is called when there is a stream error.
| HttpStream | ||
onload : Function
The oncomplete handler is called when the stream completes loading.
| HttpStream | ||
onopen : Function
The onopen handler is called when the stream is established.
| HttpStream | ||
onprogress : Function
The omessage handler is called when data arrives.
| HttpStream | ||
readyState : Number [read-only]
| HttpStream | ||
_request : URLRequest | HttpStream | ||
statusCode : Number [read-only]
The status code of the response.
| HttpStream |
Method | Defined by | ||
---|---|---|---|
HttpStream | |||
abort():void
| HttpStream | ||
dispatch(method:String, parameters:* = null):void
| HttpStream | ||
dispatchHttpForbidden():void
| HttpStream | ||
send(request:URLRequest):void
| HttpStream | ||
valueOf():Object
| HttpStream |
authChallenge | property |
authChallenge:String
[read-only]Implementation
public function get authChallenge():String
onerror | property |
public var onerror:Function
The onerror handler is called when there is a stream error.
onload | property |
public var onload:Function
The oncomplete handler is called when the stream completes loading.
onopen | property |
public var onopen:Function
The onopen handler is called when the stream is established.
onprogress | property |
public var onprogress:Function
The omessage handler is called when data arrives.
readyState | property |
readyState:Number
[read-only]Implementation
public function get readyState():Number
_request | property |
public var _request:URLRequest
statusCode | property |
statusCode:Number
[read-only]The status code of the response.
Implementation public function get statusCode():Number
HttpStream | () | constructor |
public function HttpStream()
abort | () | method |
public function abort():void
dispatch | () | method |
public function dispatch(method:String, parameters:* = null):void
Parameters
method:String |
|
parameters:* (default = null )
|
dispatchHttpForbidden | () | method |
public function dispatchHttpForbidden():void
send | () | method |
public function send(request:URLRequest):void
Parameters
request:URLRequest |
valueOf | () | method |
public function valueOf():Object
Returns
Object |