C# Class AutomatedTester.BrowserMob.Client

Afficher le fichier Open project: Colligo/AutomatedTester.BrowserMob

Méthodes publiques

Méthode Description
Blacklist ( string regexp, int statusCode ) : void
Client ( string url ) : System
Close ( ) : void

shuts down the proxy and closes the port

GetHar ( ) : HarResult
GetHarRaw ( ) : string
NewHar ( string reference = null ) : void
NewPage ( string reference ) : void
RemapHost ( string host, string ipAddress ) : void
SetLimits ( LimitOptions options ) : void
WhiteList ( string regexp, int statusCode ) : void

Private Methods

Méthode Description
FormatBlackOrWhiteListFormData ( string regexp, int statusCode ) : string
MakeJsonRequest ( string url, string method, string payload ) : WebResponse
MakeRequest ( string url, string method, string reference = null ) : WebResponse

Method Details

Blacklist() public méthode

public Blacklist ( string regexp, int statusCode ) : void
regexp string
statusCode int
Résultat void

Client() public méthode

public Client ( string url ) : System
url string
Résultat System

Close() public méthode

shuts down the proxy and closes the port
public Close ( ) : void
Résultat void

GetHar() public méthode

public GetHar ( ) : HarResult
Résultat AutomatedTester.BrowserMob.HAR.HarResult

GetHarRaw() public méthode

public GetHarRaw ( ) : string
Résultat string

NewHar() public méthode

public NewHar ( string reference = null ) : void
reference string
Résultat void

NewPage() public méthode

public NewPage ( string reference ) : void
reference string
Résultat void

RemapHost() public méthode

public RemapHost ( string host, string ipAddress ) : void
host string
ipAddress string
Résultat void

SetLimits() public méthode

public SetLimits ( LimitOptions options ) : void
options LimitOptions
Résultat void

WhiteList() public méthode

public WhiteList ( string regexp, int statusCode ) : void
regexp string
statusCode int
Résultat void