C# 클래스 LoLPatcherProxy.SimpleProxy

파일 보기 프로젝트 열기: PowerOfDark/LoLPatcherProxy 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ClientTask System.Threading.Tasks.Task
MainSocket Socket
Sockets Socket>>.List

공개 메소드들

메소드 설명
GetFakeResponse ( byte bytes ) : byte[]
GetFakeResponse ( string body ) : byte[]
GetFakeResponseHeaders ( Stream s ) : byte[]
SimpleProxy ( EndPoint local, string remote, int remotePort ) : System

비공개 메소드들

메소드 설명
ClientToServerTask ( int id ) : void
Replace ( byte input, byte pattern, byte replacement ) : byte[]
ServerToClientTask ( int id ) : void

메소드 상세

GetFakeResponse() 공개 정적인 메소드

public static GetFakeResponse ( byte bytes ) : byte[]
bytes byte
리턴 byte[]

GetFakeResponse() 공개 정적인 메소드

public static GetFakeResponse ( string body ) : byte[]
body string
리턴 byte[]

GetFakeResponseHeaders() 공개 정적인 메소드

public static GetFakeResponseHeaders ( Stream s ) : byte[]
s Stream
리턴 byte[]

SimpleProxy() 공개 메소드

public SimpleProxy ( EndPoint local, string remote, int remotePort ) : System
local System.Net.EndPoint
remote string
remotePort int
리턴 System

프로퍼티 상세

ClientTask 공개적으로 프로퍼티

public Task,System.Threading.Tasks ClientTask
리턴 System.Threading.Tasks.Task

MainSocket 공개적으로 프로퍼티

public Socket MainSocket
리턴 Socket

Sockets 공개적으로 프로퍼티

public List> Sockets
리턴 Socket>>.List