C# Class FastNetwork.Client.Request

request
Inheritance: Packet
Mostra file Open project: zhujunxxxxx/FastNetwork

Public Properties

Property Type Description
MillisecondsReceiveTimeout int

Public Methods

Method Description
Request ( byte payload, Action onException ) : System

new

SetException ( Exception ex ) : bool

set Exception

Method Details

Request() public method

new
onException is null onResult is null
public Request ( byte payload, Action onException ) : System
payload byte 发送内容
onException Action 异常回调
return System

SetException() public method

set Exception
public SetException ( Exception ex ) : bool
ex System.Exception
return bool

Property Details

MillisecondsReceiveTimeout public_oe property

get or set receive time out
public int MillisecondsReceiveTimeout
return int