Interface IBrowser
Browser interface for BrowseSharp
Assembly: BrowseSharp.dll
Syntax
public interface IBrowser
Properties
|
Improve this Doc
View Source
Authenticator
Authenticator attribute wrapper for internal restsharp client
Declaration
IAuthenticator Authenticator { get; set; }
Property Value
Type |
Description |
RestSharp.Authenticators.IAuthenticator |
|
|
Improve this Doc
View Source
AutomaticDecompression
AutomaticDecompression attribute wrapper for internal restsharp client
Declaration
bool AutomaticDecompression { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
BaseHost
BaseHost attribute wrapper for internal restsharp client
Declaration
string BaseHost { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
BaseUrl
BaseUrl attribute wrapper for internal restsharp client
Url used in request
Declaration
Uri BaseUrl { get; set; }
Property Value
Type |
Description |
System.Uri |
|
|
Improve this Doc
View Source
CachePolicy
RequestCachePolicy attribute wrapper for internal restsharp client
Declaration
RequestCachePolicy CachePolicy { get; set; }
Property Value
Type |
Description |
System.Net.Cache.RequestCachePolicy |
|
|
Improve this Doc
View Source
ClientCertificates
ClientCertificates wrapper for internal restsharp client
Declaration
X509CertificateCollection ClientCertificates { get; set; }
Property Value
Type |
Description |
System.Security.Cryptography.X509Certificates.X509CertificateCollection |
|
|
Improve this Doc
View Source
CookieContainer
CookieContainer wrapper for internal restsharp client
Declaration
CookieContainer CookieContainer { get; set; }
Property Value
Type |
Description |
System.Net.CookieContainer |
|
|
Improve this Doc
View Source
DefaultParameters
DefaultParameters attribute wrapper for internal restsharp client
Declaration
IList<Parameter> DefaultParameters { get; }
Property Value
Type |
Description |
System.Collections.Generic.IList<RestSharp.Parameter> |
|
|
Improve this Doc
View Source
Encoding
Encoding attribute wrapper for internal restsharp client
Encoding type for request
Declaration
Encoding Encoding { get; set; }
Property Value
Type |
Description |
System.Text.Encoding |
|
|
Improve this Doc
View Source
FollowRedirects
FollowRedirects attribute wrapper for internal restsharp client
Declaration
bool FollowRedirects { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
MaxRedirects
MaxRedirects attribute wrapper for internal restsharp client
Declaration
int? MaxRedirects { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
|
Improve this Doc
View Source
Pipelined
Pipelined attribute wrapper for internal restsharp client
Declaration
bool Pipelined { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
PreAuthenticate
PreAuthenticate attribute wrapper for internal restsharp client
Declaration
bool PreAuthenticate { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Proxy
Proxy attribute wrapper for internal restsharp client
Declaration
IWebProxy Proxy { get; set; }
Property Value
Type |
Description |
System.Net.IWebProxy |
|
|
Improve this Doc
View Source
ReadWriteTimeout
ReadWriteTimeout attribute wrapper for internal restsharp client
Declaration
int ReadWriteTimeout { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RemoteCertificateValidationCallback
RemoteCertificateValidationCallback method wrapper for internal restsharp client
Declaration
RemoteCertificateValidationCallback RemoteCertificateValidationCallback { get; set; }
Property Value
Type |
Description |
System.Net.Security.RemoteCertificateValidationCallback |
|
|
Improve this Doc
View Source
Timeout
Timeout attribute wrapper for internal restsharp client
Declaration
int Timeout { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
UserAgent
UserAgent attribute wrapper for internal restsharp client
Declaration
string UserAgent { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
UseSynchronizationContext
UseSynchronizationContext attribute wrapper for internal restsharp client
Declaration
bool UseSynchronizationContext { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
AddHandler(String, IDeserializer)
AddHandler method wrapper for internal restsharp client
Declaration
void AddHandler(string contentType, IDeserializer deserializer)
Parameters
Type |
Name |
Description |
System.String |
contentType |
|
RestSharp.Deserializers.IDeserializer |
deserializer |
|
|
Improve this Doc
View Source
BuildUri(IRestRequest)
BuildUri Method wrapper for internal restsharp client
Declaration
Uri BuildUri(IRestRequest request)
Parameters
Type |
Name |
Description |
RestSharp.IRestRequest |
request |
|
Returns
Type |
Description |
System.Uri |
|
|
Improve this Doc
View Source
ClearHandlers()
ClearHandlers method wrapper for internal restsharp client
Declaration
|
Improve this Doc
View Source
Deserialize<T>(IRestResponse)
Deserialize method wrapper for internal restsharp client
Declaration
IRestResponse<T> Deserialize<T>(IRestResponse response)
Parameters
Type |
Name |
Description |
RestSharp.IRestResponse |
response |
|
Returns
Type |
Description |
RestSharp.IRestResponse<T> |
|
Type Parameters
|
Improve this Doc
View Source
DownloadData(IRestRequest)
DownloadData method wrapper for internal restsharp client
Declaration
byte[] DownloadData(IRestRequest request)
Parameters
Type |
Name |
Description |
RestSharp.IRestRequest |
request |
|
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
Execute(IRestRequest)
Execute method that creates a document from an http request
Declaration
IDocument Execute(IRestRequest request)
Parameters
Type |
Name |
Description |
RestSharp.IRestRequest |
request |
|
Returns
|
Improve this Doc
View Source
ExecuteAsGet(IRestRequest, String)
Execute method that creates a document from an http get request
Declaration
IDocument ExecuteAsGet(IRestRequest request, string httpMethod)
Parameters
Type |
Name |
Description |
RestSharp.IRestRequest |
request |
|
System.String |
httpMethod |
|
Returns
|
Improve this Doc
View Source
ExecuteAsPost(IRestRequest, String)
Execute method that creates a document from an http post request
Declaration
IDocument ExecuteAsPost(IRestRequest request, string httpMethod)
Parameters
Type |
Name |
Description |
RestSharp.IRestRequest |
request |
|
System.String |
httpMethod |
|
Returns
|
Improve this Doc
View Source
ExecuteGetTaskAsync(IRestRequest)
Execute method that creates a document from an asynchronous http get request
Declaration
Task<IDocument> ExecuteGetTaskAsync(IRestRequest request)
Parameters
Type |
Name |
Description |
RestSharp.IRestRequest |
request |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IDocument> |
|
|
Improve this Doc
View Source
ExecuteGetTaskAsync(IRestRequest, CancellationToken)
Execute method that creates a document from an asynchronous http get request
Declaration
Task<IDocument> ExecuteGetTaskAsync(IRestRequest request, CancellationToken token)
Parameters
Type |
Name |
Description |
RestSharp.IRestRequest |
request |
|
System.Threading.CancellationToken |
token |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IDocument> |
|
|
Improve this Doc
View Source
ExecutePostTaskAsync(IRestRequest)
Execute method that creates a document from an asynchronous http post request
Declaration
Task<IDocument> ExecutePostTaskAsync(IRestRequest request)
Parameters
Type |
Name |
Description |
RestSharp.IRestRequest |
request |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IDocument> |
|
|
Improve this Doc
View Source
ExecutePostTaskAsync(IRestRequest, CancellationToken)
Execute method that creates a document from an asynchronous http post request
Declaration
Task<IDocument> ExecutePostTaskAsync(IRestRequest request, CancellationToken token)
Parameters
Type |
Name |
Description |
RestSharp.IRestRequest |
request |
|
System.Threading.CancellationToken |
token |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IDocument> |
|
|
Improve this Doc
View Source
ExecuteTaskAsync(IRestRequest)
Execute method that creates a document from an asynchronous http request
Declaration
Task<IDocument> ExecuteTaskAsync(IRestRequest request)
Parameters
Type |
Name |
Description |
RestSharp.IRestRequest |
request |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IDocument> |
|
|
Improve this Doc
View Source
ExecuteTaskAsync(IRestRequest, CancellationToken)
Execute method that creates a document from an asynchronous http request
Declaration
Task<IDocument> ExecuteTaskAsync(IRestRequest request, CancellationToken token)
Parameters
Type |
Name |
Description |
RestSharp.IRestRequest |
request |
|
System.Threading.CancellationToken |
token |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IDocument> |
|
|
Improve this Doc
View Source
Navigate(String)
Method that makes a get request and creates a document
Declaration
IDocument Navigate(string uri)
Parameters
Type |
Name |
Description |
System.String |
uri |
|
Returns
|
Improve this Doc
View Source
Navigate(String, Dictionary<String, String>)
Method that makes a get request and creates a document
Declaration
IDocument Navigate(string uri, Dictionary<string, string> headers)
Parameters
Type |
Name |
Description |
System.String |
uri |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
headers |
|
Returns
|
Improve this Doc
View Source
Navigate(String, Dictionary<String, String>, Dictionary<String, String>)
Method that makes a get request and creates a document
Declaration
IDocument Navigate(string uri, Dictionary<string, string> headers, Dictionary<string, string> formData)
Parameters
Type |
Name |
Description |
System.String |
uri |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
headers |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
formData |
|
Returns
|
Improve this Doc
View Source
Navigate(Uri)
Method that makes a get request and creates a document
Declaration
IDocument Navigate(Uri uri)
Parameters
Type |
Name |
Description |
System.Uri |
uri |
|
Returns
|
Improve this Doc
View Source
Navigate(Uri, Dictionary<String, String>)
Method that makes a get request and creates a document
Declaration
IDocument Navigate(Uri uri, Dictionary<string, string> headers)
Parameters
Type |
Name |
Description |
System.Uri |
uri |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
headers |
|
Returns
|
Improve this Doc
View Source
Navigate(Uri, Dictionary<String, String>, Dictionary<String, String>)
Method that makes a get request and creates a document
Declaration
IDocument Navigate(Uri uri, Dictionary<string, string> headers, Dictionary<string, string> formData)
Parameters
Type |
Name |
Description |
System.Uri |
uri |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
headers |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
formData |
|
Returns
|
Improve this Doc
View Source
NavigateAsync(String)
Method that makes an asynchronous get request and creates a document
Declaration
Task<IDocument> NavigateAsync(string uri)
Parameters
Type |
Name |
Description |
System.String |
uri |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IDocument> |
|
|
Improve this Doc
View Source
NavigateAsync(String, Dictionary<String, String>)
Method that makes an asynchronous get request and creates a document
Declaration
Task<IDocument> NavigateAsync(string uri, Dictionary<string, string> headers)
Parameters
Type |
Name |
Description |
System.String |
uri |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
headers |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IDocument> |
|
|
Improve this Doc
View Source
NavigateAsync(String, Dictionary<String, String>, Dictionary<String, String>)
Method that makes an asynchronous get request and creates a document
Declaration
Task<IDocument> NavigateAsync(string uri, Dictionary<string, string> headers, Dictionary<string, string> formData)
Parameters
Type |
Name |
Description |
System.String |
uri |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
headers |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
formData |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IDocument> |
|
|
Improve this Doc
View Source
NavigateAsync(Uri)
Method that makes an asynchronous get request and creates a document
Declaration
Task<IDocument> NavigateAsync(Uri uri)
Parameters
Type |
Name |
Description |
System.Uri |
uri |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IDocument> |
|
|
Improve this Doc
View Source
NavigateAsync(Uri, Dictionary<String, String>)
Method that makes an asynchronous get request and creates a document
Declaration
Task<IDocument> NavigateAsync(Uri uri, Dictionary<string, string> headers)
Parameters
Type |
Name |
Description |
System.Uri |
uri |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
headers |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IDocument> |
|
|
Improve this Doc
View Source
NavigateAsync(Uri, Dictionary<String, String>, Dictionary<String, String>)
Method that makes an asynchronous get request and creates a document
Declaration
Task<IDocument> NavigateAsync(Uri uri, Dictionary<string, string> headers, Dictionary<string, string> formData)
Parameters
Type |
Name |
Description |
System.Uri |
uri |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
headers |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
formData |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IDocument> |
|
|
Improve this Doc
View Source
RemoveHandler(String)
RemoveHandler method wrapper for internal restsharp client
Declaration
void RemoveHandler(string contentType)
Parameters
Type |
Name |
Description |
System.String |
contentType |
|
|
Improve this Doc
View Source
Submit(String)
Method that makes a post request and creates a document
Declaration
IDocument Submit(string uri)
Parameters
Type |
Name |
Description |
System.String |
uri |
|
Returns
|
Improve this Doc
View Source
Submit(String, Dictionary<String, String>)
Method that makes a post request and creates a document
Declaration
IDocument Submit(string uri, Dictionary<string, string> formData)
Parameters
Type |
Name |
Description |
System.String |
uri |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
formData |
|
Returns
|
Improve this Doc
View Source
Submit(String, Dictionary<String, String>, Dictionary<String, String>)
Method that makes a post request and creates a document
Declaration
IDocument Submit(string uri, Dictionary<string, string> formData, Dictionary<string, string> headers)
Parameters
Type |
Name |
Description |
System.String |
uri |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
formData |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
headers |
|
Returns
|
Improve this Doc
View Source
Submit(Uri)
Method that makes a post request and creates a document
Declaration
IDocument Submit(Uri uri)
Parameters
Type |
Name |
Description |
System.Uri |
uri |
|
Returns
|
Improve this Doc
View Source
Submit(Uri, Dictionary<String, String>)
Method that makes a post request and creates a document
Declaration
IDocument Submit(Uri uri, Dictionary<string, string> formData)
Parameters
Type |
Name |
Description |
System.Uri |
uri |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
formData |
|
Returns
|
Improve this Doc
View Source
Submit(Uri, Dictionary<String, String>, Dictionary<String, String>)
Method that makes a post request and creates a document
Declaration
IDocument Submit(Uri uri, Dictionary<string, string> formData, Dictionary<string, string> headers)
Parameters
Type |
Name |
Description |
System.Uri |
uri |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
formData |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
headers |
|
Returns
|
Improve this Doc
View Source
SubmitAsync(String)
Method that makes an asynchronous post request and creates a document
Declaration
Task<IDocument> SubmitAsync(string uri)
Parameters
Type |
Name |
Description |
System.String |
uri |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IDocument> |
|
|
Improve this Doc
View Source
SubmitAsync(String, Dictionary<String, String>)
Method that makes an asynchronous post request and creates a document
Declaration
Task<IDocument> SubmitAsync(string uri, Dictionary<string, string> formData)
Parameters
Type |
Name |
Description |
System.String |
uri |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
formData |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IDocument> |
|
|
Improve this Doc
View Source
SubmitAsync(String, Dictionary<String, String>, Dictionary<String, String>)
Method that makes an asynchronous post request and creates a document
Declaration
Task<IDocument> SubmitAsync(string uri, Dictionary<string, string> formData, Dictionary<string, string> headers)
Parameters
Type |
Name |
Description |
System.String |
uri |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
formData |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
headers |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IDocument> |
|
|
Improve this Doc
View Source
SubmitAsync(Uri)
Method that makes an asynchronous post request and creates a document
Declaration
Task<IDocument> SubmitAsync(Uri uri)
Parameters
Type |
Name |
Description |
System.Uri |
uri |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IDocument> |
|
|
Improve this Doc
View Source
SubmitAsync(Uri, Dictionary<String, String>)
Method that makes an asynchronous post request and creates a document
Declaration
Task<IDocument> SubmitAsync(Uri uri, Dictionary<string, string> formData)
Parameters
Type |
Name |
Description |
System.Uri |
uri |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
formData |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IDocument> |
|
|
Improve this Doc
View Source
SubmitAsync(Uri, Dictionary<String, String>, Dictionary<String, String>)
Method that makes an asynchronous post request and creates a document
Declaration
Task<IDocument> SubmitAsync(Uri uri, Dictionary<string, string> formData, Dictionary<string, string> headers)
Parameters
Type |
Name |
Description |
System.Uri |
uri |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
formData |
|
System.Collections.Generic.Dictionary<System.String, System.String> |
headers |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<IDocument> |
|