W3cubDocs

/Haxe Flash

NetConnection

package flash.net

extends EventDispatcher

Available on flash

Constructor

new ()

Variables

client:Dynamic

read only connected:Bool

read only connectedProxyType:String

@:require(flash10) read only farID:String

@:require(flash10) read only farNonce:String

@:require(flash10) maxPeerConnections:UInt

@:require(flash10) read only nearID:String

@:require(flash10) read only nearNonce:String

objectEncoding:UInt

@:require(flash10) read only protocol:String

proxyType:String

@:require(flash10) read only unconnectedPeerStreams:Array<Dynamic>

read only uri:String

read only usingTLS:Bool

Methods

@:value({ mustUnderstand : false }) addHeader (operation:String, mustUnderstand:Bool = false, ?param:Object):Void

call (command:String, responder:Responder, ?p1:Dynamic, ?p2:Dynamic, ?p3:Dynamic, ?p4:Dynamic, ?p5:Dynamic):Void

close ():Void

connect (command:String, ?p1:Dynamic, ?p2:Dynamic, ?p3:Dynamic, ?p4:Dynamic, ?p5:Dynamic):Void

Static variables

static defaultObjectEncoding:UInt

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/net/NetConnection.html