ServiceStack.Client Need to provide async request options http://msdn.microsoft.com/en-us/library/86wf6409(VS.71).aspx The request filter is called before any request. This request filter is executed globally. The response action is called once the server response is available. It will allow you to access raw response information. This response action is executed globally. Note that you should NOT consume the response stream as this is handled by ServiceStack Called before request resend, when the initial request required authentication The request filter is called before any request. This request filter only works with the instance where it was set (not global). The response action is called once the server response is available. It will allow you to access raw response information. Note that you should NOT consume the response stream as this is handled by ServiceStack The ResultsFilter is called before the Request is sent allowing you to return a cached response. The ResultsFilterResponse is called before returning the response allowing responses to be cached. Called with requestUri, ResponseType when server returns 304 NotModified Useful .NET Encryption Utils from: https://msdn.microsoft.com/en-us/library/system.security.cryptography.rsacryptoserviceprovider(v=vs.110).aspx Returns the next message from queueName or null if no message Generic Proxy for service calls. The service Contract Returns the transparent proxy for the service call Creates the error response from the values provided. If the errorCode is empty it will use the first validation error code, if there is none it will throw an error. The error code. The error message. The validation errors. Default MaxStringContentLength is 8k, and throws an exception when reached Serializer cache of delegates required to create a type from a string map (e.g. for REST urls) Gets the namespace from an attribute marked on the type's definition Namespace of type Need to provide async request options http://msdn.microsoft.com/en-us/library/86wf6409(VS.71).aspx The request filter is called before any request. This request filter is executed globally. The response action is called once the server response is available. It will allow you to access raw response information. This response action is executed globally. Note that you should NOT consume the response stream as this is handled by ServiceStack Gets the collection of headers to be added to outgoing requests. Sets all baseUri properties, using the Format property for the SyncReplyBaseUri and AsyncOneWayBaseUri Base URI of the service Whether to Accept Gzip,Deflate Content-Encoding and to auto decompress responses The user name for basic authentication The password for basic authentication Sets the username and the password for basic authentication. The Authorization Bearer Token to send with this request Whether to execute async callbacks on the same Synchronization Context it was called from. Gets or sets authentication information for the request. Warning: It's recommened to use and for basic auth. This property is only used for IIS level authentication. Determines if the basic auth header should be sent with every request. By default, the basic auth header is only sent when "401 Unauthorized" is returned. Specifies if cookies should be stored Called before request resend, when the initial request required authentication The request filter is called before any request. This request filter only works with the instance where it was set (not global). The ResultsFilter is called before the Request is sent allowing you to return a cached response. The ResultsFilterResponse is called before returning the response allowing responses to be cached. Called with requestUri, ResponseType when server returns 304 NotModified The response action is called once the server response is available. It will allow you to access raw response information. Note that you should NOT consume the response stream as this is handled by ServiceStack Called by Send method if an exception occurs, for instance a System.Net.WebException because the server returned an HTTP error code. Override if you want to handle specific exceptions or always want to parse the response to a custom ErrorResponse DTO type instead of ServiceStack's ErrorResponse class. In case ex is a System.Net.WebException, do not use createWebRequest/getResponse/HandleResponse<TResponse> to parse the response because that will result in the same exception again. Use ThrowWebServiceException<YourErrorResponseType> to parse the response and to throw a WebServiceException containing the parsed DTO. Then override Send to handle that exception. APIs returning HttpWebResponse must be explicitly Disposed, e.g using (var res = client.Get(url)) { ... } APIs returning HttpWebResponse must be explicitly Disposed, e.g using (var res = client.Get(url)) { ... } Compresses the specified text using the default compression method: Deflate The text. Type of the compression. Compresses the specified text using the default compression method: Deflate Decompresses the specified gz buffer using the default compression method: Inflate The gz buffer. Type of the compression. Decompresses the specified gz buffer using inflate or gzip method Compressed stream Type of the compression. Can be "gzip" or "deflate" Decompressed stream Decompresses the specified gz buffer using the default compression method: Inflate Donated by Ivan Korneliuk from his post: http://korneliuk.blogspot.com/2012/08/servicestack-reusing-dtos.html Modified to only allow using routes matching the supplied HTTP Verb Generate a url from a Request DTO. Pretty URL generation require Routes to be defined using `[Route]` on the Request DTO The exception which is thrown when a validation error occurred. This validation is serialized in a extra clean and human-readable way by ServiceStack. Returns the first error code The error code. Used if we need to serialize this exception to XML Encapsulates a validation result. Gets or sets the success code. The success code. Gets or sets the error code. The error code. Gets or sets the success message. The success message. Gets or sets the error message. The error message. The errors generated by the validation. Returns True if the validation was successful (errors list is empty). Constructs a new ValidationResult Constructs a new ValidationResult A list of validation results Initializes a new instance of the class. The errors. The success code. The error code. Merge errors from another Adds the singleton instance of to an endpoint on the client. Based on http://megakemp.wordpress.com/2009/02/06/managing-shared-cookies-in-wcf/ Adds the singleton of the class to the client endpoint's message inspectors. The endpoint that is to be customized. The client runtime to be customized. Maintains a copy of the cookies contained in the incoming HTTP response received from any service and appends it to all outgoing HTTP requests. This class effectively allows to send any received HTTP cookies to different services, reproducing the same functionality available in ASMX Web Services proxies with the class. Based on http://megakemp.wordpress.com/2009/02/06/managing-shared-cookies-in-wcf/ Initializes a new instance of the class. Gets the singleton instance. Inspects a message after a reply message is received but prior to passing it back to the client application. The message to be transformed into types and handed back to the client application. Correlation state data. Inspects a message before a request message is sent to a service. The message to be sent to the service. The client object channel. Null since no message correlation is used. Specifies if cookies should be stored Naming convention for the request's Response DTO Shortcut to get the ResponseStatus whether it's bare or inside a IHttpResult