PageRenderTime 375ms CodeModel.GetById 151ms app.highlight 1ms RepoModel.GetById 160ms app.codeStats 0ms

/flash-src/src/net/gimite/websocket/WebSocketFrame.as

http://github.com/gimite/web-socket-js
ActionScript | 21 lines | 11 code | 7 blank | 3 comment | 0 complexity | b38ed290ab48eb10dd8242ba4087ef24 MD5 | raw file
 1// Copyright: Hiroshi Ichikawa <http://gimite.net/en/>
 2// License: New BSD License
 3
 4package net.gimite.websocket {
 5
 6import flash.utils.ByteArray;
 7
 8public class WebSocketFrame {
 9  
10  public var fin:Boolean = true;
11  public var rsv:int = 0;
12  public var opcode:int = -1;
13  public var payload:ByteArray;
14  
15  // Fields below are not used when used as a parameter of sendFrame().
16  public var length:uint = 0;
17  public var mask:Boolean = false;
18  
19}
20
21}