Skip to main content

Net45PclExportClient

Assembly: ServiceStack.Client.dll
View Source
Declaration
public class Net45PclExportClient : PclExportClient

Fields

Provider

View Source
Declaration
public static Net45PclExportClient Provider

Methods

Configure()

View Source
Declaration
public static PclExportClient Configure()
Returns

ServiceStack.PclExportClient

ParseQueryString(String)

View Source
Declaration
public override NameValueCollection ParseQueryString(string query)
Returns

System.Collections.Specialized.NameValueCollection

Parameters
TypeName
System.Stringquery

UrlEncode(String)

View Source
Declaration
public override string UrlEncode(string url)
Returns

System.String

Parameters
TypeName
System.Stringurl

UrlDecode(String)

View Source
Declaration
public override string UrlDecode(string url)
Returns

System.String

Parameters
TypeName
System.Stringurl

HtmlEncode(String)

View Source
Declaration
public override string HtmlEncode(string html)
Returns

System.String

Parameters
TypeName
System.Stringhtml

HtmlDecode(String)

View Source
Declaration
public override string HtmlDecode(string html)
Returns

System.String

Parameters
TypeName
System.Stringhtml

GetHeader(WebHeaderCollection, String, Func<String, Boolean>)

View Source
Declaration
public override string GetHeader(WebHeaderCollection headers, string name, Func<string, bool> valuePredicate)
Returns

System.String

Parameters
TypeName
System.Net.WebHeaderCollectionheaders
System.Stringname
System.Func<System.String,System.Boolean>valuePredicate

CreateTimer(TimerCallback, TimeSpan, Object)

View Source
Declaration
public override ITimer CreateTimer(TimerCallback cb, TimeSpan timeOut, object state)
Returns

ServiceStack.ITimer

Parameters
TypeName
System.Threading.TimerCallbackcb
System.TimeSpantimeOut
System.Objectstate

CreateTimeoutException(Exception, String)

View Source
Declaration
public override Exception CreateTimeoutException(Exception ex, string errorMsg)
Returns

System.Exception

Parameters
TypeName
System.Exceptionex
System.StringerrorMsg

IsWebException(WebException)

View Source
Declaration
public override bool IsWebException(WebException webEx)
Returns

System.Boolean

Parameters
TypeName
System.Net.WebExceptionwebEx

Inherited Methods

AddHeader(WebRequest, NameValueCollection)

View Source
Declaration
public virtual void AddHeader(WebRequest webReq, NameValueCollection headers)
Parameters
TypeName
System.Net.WebRequestwebReq
System.Collections.Specialized.NameValueCollectionheaders

CloseReadStream(Stream)

View Source
Declaration
public virtual void CloseReadStream(Stream stream)
Parameters
TypeName
System.IO.Streamstream

CloseWriteStream(Stream)

View Source
Declaration
public virtual void CloseWriteStream(Stream stream)
Parameters
TypeName
System.IO.Streamstream

Configure(PclExportClient)

View Source
Declaration
public static void Configure(PclExportClient instance)
Parameters
TypeName
ServiceStack.PclExportClientinstance

ConfigureProvider(String)

View Source
Declaration
public static bool ConfigureProvider(string typeName)
Returns

System.Boolean

Parameters
TypeName
System.StringtypeName

CreateTimeoutException(Exception, String)

View Source
Declaration
public virtual Exception CreateTimeoutException(Exception ex, string errorMsg)
Returns

System.Exception

Parameters
TypeName
System.Exceptionex
System.StringerrorMsg

CreateTimer(TimerCallback, TimeSpan, Object)

View Source
Declaration
public virtual ITimer CreateTimer(TimerCallback cb, TimeSpan timeOut, object state)
Returns

ServiceStack.ITimer

Parameters
TypeName
System.Threading.TimerCallbackcb
System.TimeSpantimeOut
System.Objectstate

GetHeader(WebHeaderCollection, String, Func<String, Boolean>)

View Source
Declaration
public virtual string GetHeader(WebHeaderCollection headers, string name, Func<string, bool> valuePredicate)
Returns

System.String

Parameters
TypeName
System.Net.WebHeaderCollectionheaders
System.Stringname
System.Func<System.String,System.Boolean>valuePredicate

HtmlAttributeEncode(String)

View Source
Declaration
public virtual string HtmlAttributeEncode(string html)
Returns

System.String

Parameters
TypeName
System.Stringhtml

HtmlDecode(String)

View Source
Declaration
public virtual string HtmlDecode(string html)
Returns

System.String

Parameters
TypeName
System.Stringhtml

HtmlEncode(String)

View Source
Declaration
public virtual string HtmlEncode(string html)
Returns

System.String

Parameters
TypeName
System.Stringhtml

IsWebException(WebException)

View Source
Declaration
public virtual bool IsWebException(WebException webEx)
Returns

System.Boolean

Parameters
TypeName
System.Net.WebExceptionwebEx

NewNameValueCollection()

View Source
Declaration
[Obsolete("Use new NameValueCollection()")]
public NameValueCollection NewNameValueCollection()
Returns

System.Collections.Specialized.NameValueCollection

ParseQueryString(String)

View Source
Declaration
public virtual NameValueCollection ParseQueryString(string query)
Returns

System.Collections.Specialized.NameValueCollection

Parameters
TypeName
System.Stringquery

RunOnUiThread(Action)

View Source
Declaration
public virtual void RunOnUiThread(Action fn)
Parameters
TypeName
System.Actionfn

SetCookieContainer(HttpWebRequest, AsyncServiceClient)

View Source
Declaration
public virtual void SetCookieContainer(HttpWebRequest webRequest, AsyncServiceClient client)
Parameters
TypeName
System.Net.HttpWebRequestwebRequest
ServiceStack.AsyncServiceClientclient

SetCookieContainer(HttpWebRequest, ServiceClientBase)

View Source
Declaration
public virtual void SetCookieContainer(HttpWebRequest webRequest, ServiceClientBase client)
Parameters
TypeName
System.Net.HttpWebRequestwebRequest
ServiceStack.ServiceClientBaseclient

SetIfModifiedSince(HttpWebRequest, DateTime)

View Source
Declaration
public virtual void SetIfModifiedSince(HttpWebRequest webReq, DateTime lastModified)
Parameters
TypeName
System.Net.HttpWebRequestwebReq
System.DateTimelastModified

SynchronizeCookies(AsyncServiceClient)

View Source
Declaration
public virtual void SynchronizeCookies(AsyncServiceClient client)
Parameters
TypeName
ServiceStack.AsyncServiceClientclient

UrlDecode(String)

View Source
Declaration
public virtual string UrlDecode(string url)
Returns

System.String

Parameters
TypeName
System.Stringurl

UrlEncode(String)

View Source
Declaration
public virtual string UrlEncode(string url)
Returns

System.String

Parameters
TypeName
System.Stringurl

WaitAsync(Int32)

View Source
Declaration
public virtual Task WaitAsync(int waitForMs)
Returns

System.Threading.Tasks.Task

Parameters
TypeName
System.Int32waitForMs