C# Класс FSSHTTPandWOPIInspector.FSSHTTPandWOPIInspector

Наследование: Inspector2
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
UpdateView void

Открытые методы

Метод Описание
AddToTab ( TabPage o ) : void

Called by Fiddler to add the FSSHTTPandWOPI inspector tab

AssignSession ( Fiddler.Session oS ) : void

This is called every time this inspector is shown

BytearrayToString ( byte ba ) : string

Concert byte array to hex string

Clear ( ) : void

Method Fiddler calls to clear the display

DisplayObject ( object obj, string RopNameforBinaryStructure ) : void

Display the object in Tree View

EnalbeWOPIAndHTTPHexView ( byte FSSHTTPBBytes ) : void

Enable the WOPIAndHTTPHexView

GetFSSHTTPBBytesForXOP ( string OctetsBinaryString, byte bytesFromHTTP ) : byte[]

Get the byte array of the octets binary in XOP package

GetOctetsBinaryForXOP ( byte bytesFromHTTP ) : string

Get the string of octets binary in XOP package

GetOrder ( ) : int

Method that returns a sorting hint

GetWOPIOperationName ( Fiddler.HTTPHeaders headers, string url ) : WOPIOperations

Get the WOPI operation

IsFSSHTTPBStart ( byte payload ) : bool

Check if the start point is FSSHTTPB bits

ParseFSSHTTPBBytes ( byte FSSHTTPBbytes, TrafficDirection direction ) : object

Parse the FSSHTTPB Bytes.

ParseHTTPPayloadForFSSHTTP ( Fiddler.HTTPHeaders responseHeaders, byte bytesFromHTTP, TrafficDirection direction ) : object

Parse the HTTP payload to FSSHTTP and WOPI message.

ParseHTTPPayloadForWOPI ( Fiddler.HTTPHeaders requestHeaders, Fiddler.HTTPHeaders responseHeaders, string url, byte bytesFromHTTP, string &binaryStructureRopName, TrafficDirection direction ) : object

Parse the HTTP payload to WOPI message.

ScoreForSession ( Fiddler.Session oS ) : int

Called by Fiddler to determine how confident this inspector is that it can decode the data. This is only called when the user hits enter or double- clicks a session. If we score the highest out of the other inspectors, Fiddler will open this inspector's tab and then call AssignSession.

TreeView_AfterSelect ( object sender, TreeViewEventArgs e ) : void

Represents the method, which is used to handle the AfterSelect event of a TreeView.

TryParseFSSHTTPBRequestMessage ( Request Requests, byte bytesFromHTTP ) : void

Parse the HTTP payload to FSSHTTPB Request message.

TryParseFSSHTTPBResponseMessage ( Response Responses, byte bytesFromHTTP ) : void

Parse the HTTP payload to FSSHTTPB Response message.

Приватные методы

Метод Описание
UpdateView ( ) : void

Update the view with parsed and diagnosed data

Описание методов

AddToTab() публичный Метод

Called by Fiddler to add the FSSHTTPandWOPI inspector tab
public AddToTab ( TabPage o ) : void
o System.Windows.Forms.TabPage The tab control for the inspector
Результат void

AssignSession() публичный Метод

This is called every time this inspector is shown
public AssignSession ( Fiddler.Session oS ) : void
oS Fiddler.Session Session object passed by Fiddler
Результат void

BytearrayToString() публичный Метод

Concert byte array to hex string
public BytearrayToString ( byte ba ) : string
ba byte The byte array used to convert
Результат string

Clear() публичный Метод

Method Fiddler calls to clear the display
public Clear ( ) : void
Результат void

DisplayObject() публичный Метод

Display the object in Tree View
public DisplayObject ( object obj, string RopNameforBinaryStructure ) : void
obj object The object to display
RopNameforBinaryStructure string The string value used to as the name of tree node for object which is bianry value
Результат void

EnalbeWOPIAndHTTPHexView() публичный Метод

Enable the WOPIAndHTTPHexView
public EnalbeWOPIAndHTTPHexView ( byte FSSHTTPBBytes ) : void
FSSHTTPBBytes byte The raw data for FSSHTTPB protocol
Результат void

GetFSSHTTPBBytesForXOP() публичный Метод

Get the byte array of the octets binary in XOP package
public GetFSSHTTPBBytesForXOP ( string OctetsBinaryString, byte bytesFromHTTP ) : byte[]
OctetsBinaryString string string of the octets binary
bytesFromHTTP byte The raw data from HTTP layer
Результат byte[]

GetOctetsBinaryForXOP() публичный Метод

Get the string of octets binary in XOP package
public GetOctetsBinaryForXOP ( byte bytesFromHTTP ) : string
bytesFromHTTP byte The raw data from HTTP layer
Результат string

GetOrder() публичный Метод

Method that returns a sorting hint
public GetOrder ( ) : int
Результат int

GetWOPIOperationName() публичный Метод

Get the WOPI operation
public GetWOPIOperationName ( Fiddler.HTTPHeaders headers, string url ) : WOPIOperations
headers Fiddler.HTTPHeaders Http headers
url string url for a session
Результат WOPIOperations

IsFSSHTTPBStart() публичный Метод

Check if the start point is FSSHTTPB bits
public IsFSSHTTPBStart ( byte payload ) : bool
payload byte
Результат bool

ParseFSSHTTPBBytes() публичный Метод

Parse the FSSHTTPB Bytes.
public ParseFSSHTTPBBytes ( byte FSSHTTPBbytes, TrafficDirection direction ) : object
FSSHTTPBbytes byte The raw date contains FSSHTTPB message.
direction TrafficDirection The direction of the traffic.
Результат object

ParseHTTPPayloadForFSSHTTP() публичный Метод

Parse the HTTP payload to FSSHTTP and WOPI message.
public ParseHTTPPayloadForFSSHTTP ( Fiddler.HTTPHeaders responseHeaders, byte bytesFromHTTP, TrafficDirection direction ) : object
responseHeaders Fiddler.HTTPHeaders The HTTP response header.
bytesFromHTTP byte The raw data from HTTP layer.
direction TrafficDirection The direction of the traffic.
Результат object

ParseHTTPPayloadForWOPI() публичный Метод

Parse the HTTP payload to WOPI message.
public ParseHTTPPayloadForWOPI ( Fiddler.HTTPHeaders requestHeaders, Fiddler.HTTPHeaders responseHeaders, string url, byte bytesFromHTTP, string &binaryStructureRopName, TrafficDirection direction ) : object
requestHeaders Fiddler.HTTPHeaders The HTTP request header.
responseHeaders Fiddler.HTTPHeaders The HTTP response header.
url string url for a HTTP message.
bytesFromHTTP byte The raw data from HTTP layer.
binaryStructureRopName string
direction TrafficDirection The direction of the traffic.
Результат object

ScoreForSession() публичный Метод

Called by Fiddler to determine how confident this inspector is that it can decode the data. This is only called when the user hits enter or double- clicks a session. If we score the highest out of the other inspectors, Fiddler will open this inspector's tab and then call AssignSession.
public ScoreForSession ( Fiddler.Session oS ) : int
oS Fiddler.Session the session object passed by Fiddler
Результат int

TreeView_AfterSelect() публичный Метод

Represents the method, which is used to handle the AfterSelect event of a TreeView.
public TreeView_AfterSelect ( object sender, TreeViewEventArgs e ) : void
sender object The source of the event
e System.Windows.Forms.TreeViewEventArgs A System.Windows.Forms.TreeViewEventArgs that contains the event data.
Результат void

TryParseFSSHTTPBRequestMessage() публичный Метод

Parse the HTTP payload to FSSHTTPB Request message.
public TryParseFSSHTTPBRequestMessage ( Request Requests, byte bytesFromHTTP ) : void
Requests FSSHTTPandWOPIInspector.Parsers.Request Array of Request that is part of a cell storage service request.
bytesFromHTTP byte The raw data from HTTP layer.
Результат void

TryParseFSSHTTPBResponseMessage() публичный Метод

Parse the HTTP payload to FSSHTTPB Response message.
public TryParseFSSHTTPBResponseMessage ( Response Responses, byte bytesFromHTTP ) : void
Responses FSSHTTPandWOPIInspector.Parsers.Response Array of Response element that is part of a cell storage service response.
bytesFromHTTP byte The raw data from HTTP layer.
Результат void