C# 클래스 FSSHTTPandWOPIInspector.FSSHTTPandWOPIInspector

상속: Inspector2
파일 보기 프로젝트 열기: OfficeDev/Office-Inspectors-for-Fiddler 1 사용 예제들

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