C# Class IBE.SimpleWebserver

Afficher le fichier Open project: Duke-Jones/ED-IBE

Méthodes publiques

Свойство Type Description
Running bool

Private Properties

Свойство Type Description
HandleRequest void
HtmlTag string
NoteInputFieldHtml string
ParseNoteParameters void
ReturnCurrentOcrImage void
ReturnEnterNoteDataHtml void
ReturnOcrHtml void
SendTradeDataPage void
notFound void
notImplemented void
sendOkResponse void
sendResponse void
sendResponse void

Méthodes publiques

Méthode Description
ImageToByte2 ( Image img ) : byte[]
Start ( IPAddress ipAddress, int port, int maxNOfCon, string contentPath, Form1 callingForm ) : bool
Stop ( ) : void

Private Methods

Méthode Description
HandleRequest ( Socket clientSocket ) : void
HtmlTag ( string pageName ) : string
NoteInputFieldHtml ( string label ) : string
ParseNoteParameters ( string requestedUrl ) : void
ReturnCurrentOcrImage ( Socket clientSocket, string extension ) : void
ReturnEnterNoteDataHtml ( Socket clientSocket ) : void
ReturnOcrHtml ( Socket clientSocket ) : void
SendTradeDataPage ( Socket clientSocket ) : void
notFound ( Socket clientSocket ) : void
notImplemented ( Socket clientSocket ) : void
sendOkResponse ( Socket clientSocket, byte bContent, string contentType ) : void
sendResponse ( Socket clientSocket, byte bContent, string responseCode, string contentType ) : void
sendResponse ( Socket clientSocket, string strContent, string responseCode, string contentType ) : void

Method Details

ImageToByte2() public static méthode

public static ImageToByte2 ( Image img ) : byte[]
img Image
Résultat byte[]

Start() public méthode

public Start ( IPAddress ipAddress, int port, int maxNOfCon, string contentPath, Form1 callingForm ) : bool
ipAddress System.Net.IPAddress
port int
maxNOfCon int
contentPath string
callingForm Form1
Résultat bool

Stop() public méthode

public Stop ( ) : void
Résultat void

Property Details

Running public_oe property

public bool Running
Résultat bool