Skip to main content

WcfServiceClient

Assembly: ServiceStack.Client.dll
View Source
Declaration
public abstract class WcfServiceClient : IWcfServiceClient, IServiceClient, IRestServiceClient, IServiceClientAsync, IServiceGatewayAsync, IServiceClientSync, IHasSessionId, IHasBearerToken, IHasVersion, IHttpRestClientAsync, IRestClientAsync, IReplyClient, IServiceGateway, IOneWayClient, IRestClient, IRestClientSync, IServiceClientCommon, IDisposable

Properties

Uri

View Source
Declaration
public string Uri { get; set; }

MessageVersion

View Source
Declaration
protected abstract MessageVersion MessageVersion { get; }

Binding

View Source
Declaration
protected abstract Binding Binding { get; }

StoreCookies

Specifies if cookies should be stored

View Source
Declaration
public bool StoreCookies { get; set; }

Version

View Source
Declaration
public int Version { get; set; }

SessionId

View Source
Declaration
public string SessionId { get; set; }

BearerToken

View Source
Declaration
public string BearerToken { get; set; }

Fields

WsdlServiceNamespace

View Source
Declaration
public string WsdlServiceNamespace

Methods

SetProxy(Uri)

View Source
Declaration
public abstract void SetProxy(Uri proxyAddress)
Parameters
TypeName
System.UriproxyAddress

Send(Object)

View Source
Declaration
public Message Send(object request)
Returns

System.ServiceModel.Channels.Message

Parameters
TypeName
System.Objectrequest

Send(Object, String)

View Source
Declaration
public Message Send(object request, string action)
Returns

System.ServiceModel.Channels.Message

Parameters
TypeName
System.Objectrequest
System.Stringaction

Send(XmlReader, String)

View Source
Declaration
public Message Send(XmlReader reader, string action)
Returns

System.ServiceModel.Channels.Message

Parameters
TypeName
System.Xml.XmlReaderreader
System.Stringaction

Send(Message)

View Source
Declaration
public Message Send(Message message)
Returns

System.ServiceModel.Channels.Message

Parameters
TypeName
System.ServiceModel.Channels.Messagemessage

GetBody<T>(Message)

View Source
Declaration
public static T GetBody<T>(Message message)
Returns

<T>

Parameters
TypeName
System.ServiceModel.Channels.Messagemessage
Type Parameters
  • T

Send<T>(Object)

View Source
Declaration
public T Send<T>(object request)
Returns

<T>

Parameters
TypeName
System.Objectrequest
Type Parameters
  • T

Send<TResponse>(IReturn<TResponse>)

View Source
Declaration
public TResponse Send<TResponse>(IReturn<TResponse> request)
Returns

<TResponse>

Parameters
TypeName
ServiceStack.IReturn<T>request
Type Parameters
  • TResponse

Send(IReturnVoid)

View Source
Declaration
public void Send(IReturnVoid request)
Parameters
TypeName
ServiceStack.IReturnVoidrequest

Publish(Object)

View Source
Declaration
public void Publish(object requestDto)
Parameters
TypeName
System.ObjectrequestDto

PublishAll(IEnumerable<Object>)

View Source
Declaration
public void PublishAll(IEnumerable<object> requestDtos)
Parameters
TypeName
System.Collections.Generic.IEnumerable<System.Object>requestDtos

SendAll<TResponse>(IEnumerable<Object>)

View Source
Declaration
public List<TResponse> SendAll<TResponse>(IEnumerable<object> requests)
Returns

System.Collections.Generic.List<<TResponse>>

Parameters
TypeName
System.Collections.Generic.IEnumerable<System.Object>requests
Type Parameters
  • TResponse

AddHeader(String, String)

View Source
Declaration
public void AddHeader(string name, string value)
Parameters
TypeName
System.Stringname
System.Stringvalue

ClearCookies()

View Source
Declaration
public void ClearCookies()

GetCookieValues()

View Source
Declaration
public Dictionary<string, string> GetCookieValues()
Returns

System.Collections.Generic.Dictionary<System.String,System.String>

SetCookie(String, String, Nullable<TimeSpan>)

View Source
Declaration
public void SetCookie(string name, string value, TimeSpan? expiresIn = null)
Parameters
TypeName
System.Stringname
System.Stringvalue
System.Nullable<System.TimeSpan>expiresIn

Get(IReturnVoid)

View Source
Declaration
public void Get(IReturnVoid request)
Parameters
TypeName
ServiceStack.IReturnVoidrequest

Get<TResponse>(IReturn<TResponse>)

View Source
Declaration
public TResponse Get<TResponse>(IReturn<TResponse> requestDto)
Returns

<TResponse>

Parameters
TypeName
ServiceStack.IReturn<T>requestDto
Type Parameters
  • TResponse

Get<TResponse>(Object)

View Source
Declaration
public TResponse Get<TResponse>(object requestDto)
Returns

<TResponse>

Parameters
TypeName
System.ObjectrequestDto
Type Parameters
  • TResponse

Get<TResponse>(String)

View Source
Declaration
public TResponse Get<TResponse>(string relativeOrAbsoluteUrl)
Returns

<TResponse>

Parameters
TypeName
System.StringrelativeOrAbsoluteUrl
Type Parameters
  • TResponse

GetLazy<TResponse>(IReturn<QueryResponse<TResponse>>)

View Source
Declaration
public IEnumerable<TResponse> GetLazy<TResponse>(IReturn<QueryResponse<TResponse>> queryDto)
Returns

System.Collections.Generic.IEnumerable<<TResponse>>

Parameters
TypeName
ServiceStack.IReturn<T>queryDto
Type Parameters
  • TResponse

Delete(IReturnVoid)

View Source
Declaration
public void Delete(IReturnVoid requestDto)
Parameters
TypeName
ServiceStack.IReturnVoidrequestDto

Delete<TResponse>(IReturn<TResponse>)

View Source
Declaration
public TResponse Delete<TResponse>(IReturn<TResponse> request)
Returns

<TResponse>

Parameters
TypeName
ServiceStack.IReturn<T>request
Type Parameters
  • TResponse

Delete<TResponse>(Object)

View Source
Declaration
public TResponse Delete<TResponse>(object request)
Returns

<TResponse>

Parameters
TypeName
System.Objectrequest
Type Parameters
  • TResponse

Delete<TResponse>(String)

View Source
Declaration
public TResponse Delete<TResponse>(string relativeOrAbsoluteUrl)
Returns

<TResponse>

Parameters
TypeName
System.StringrelativeOrAbsoluteUrl
Type Parameters
  • TResponse

Post(IReturnVoid)

View Source
Declaration
public void Post(IReturnVoid requestDto)
Parameters
TypeName
ServiceStack.IReturnVoidrequestDto

Post<TResponse>(IReturn<TResponse>)

View Source
Declaration
public TResponse Post<TResponse>(IReturn<TResponse> requestDto)
Returns

<TResponse>

Parameters
TypeName
ServiceStack.IReturn<T>requestDto
Type Parameters
  • TResponse

Post<TResponse>(Object)

View Source
Declaration
public TResponse Post<TResponse>(object requestDto)
Returns

<TResponse>

Parameters
TypeName
System.ObjectrequestDto
Type Parameters
  • TResponse

Post<TResponse>(String, Object)

View Source
Declaration
public TResponse Post<TResponse>(string relativeOrAbsoluteUrl, object request)
Returns

<TResponse>

Parameters
TypeName
System.StringrelativeOrAbsoluteUrl
System.Objectrequest
Type Parameters
  • TResponse

Put(IReturnVoid)

View Source
Declaration
public void Put(IReturnVoid requestDto)
Parameters
TypeName
ServiceStack.IReturnVoidrequestDto

Put<TResponse>(IReturn<TResponse>)

View Source
Declaration
public TResponse Put<TResponse>(IReturn<TResponse> requestDto)
Returns

<TResponse>

Parameters
TypeName
ServiceStack.IReturn<T>requestDto
Type Parameters
  • TResponse

Put<TResponse>(Object)

View Source
Declaration
public TResponse Put<TResponse>(object requestDto)
Returns

<TResponse>

Parameters
TypeName
System.ObjectrequestDto
Type Parameters
  • TResponse

Put<TResponse>(String, Object)

View Source
Declaration
public TResponse Put<TResponse>(string relativeOrAbsoluteUrl, object requestDto)
Returns

<TResponse>

Parameters
TypeName
System.StringrelativeOrAbsoluteUrl
System.ObjectrequestDto
Type Parameters
  • TResponse

Patch(IReturnVoid)

View Source
Declaration
public void Patch(IReturnVoid requestDto)
Parameters
TypeName
ServiceStack.IReturnVoidrequestDto

Patch<TResponse>(IReturn<TResponse>)

View Source
Declaration
public TResponse Patch<TResponse>(IReturn<TResponse> requestDto)
Returns

<TResponse>

Parameters
TypeName
ServiceStack.IReturn<T>requestDto
Type Parameters
  • TResponse

Patch<TResponse>(Object)

View Source
Declaration
public TResponse Patch<TResponse>(object requestDto)
Returns

<TResponse>

Parameters
TypeName
System.ObjectrequestDto
Type Parameters
  • TResponse

Patch<TResponse>(String, Object)

View Source
Declaration
public TResponse Patch<TResponse>(string relativeOrAbsoluteUrl, object requestDto)
Returns

<TResponse>

Parameters
TypeName
System.StringrelativeOrAbsoluteUrl
System.ObjectrequestDto
Type Parameters
  • TResponse

Send<TResponse>(String, String, Object)

View Source
Declaration
public TResponse Send<TResponse>(string httpMethod, string relativeOrAbsoluteUrl, object request)
Returns

<TResponse>

Parameters
TypeName
System.StringhttpMethod
System.StringrelativeOrAbsoluteUrl
System.Objectrequest
Type Parameters
  • TResponse

PostFile<TResponse>(String, Stream, String, String, String)

View Source
Declaration
public TResponse PostFile<TResponse>(string relativeOrAbsoluteUrl, Stream fileToUpload, string fileName, string mimeType, string fieldName)
Returns

<TResponse>

Parameters
TypeName
System.StringrelativeOrAbsoluteUrl
System.IO.StreamfileToUpload
System.StringfileName
System.StringmimeType
System.StringfieldName
Type Parameters
  • TResponse

CustomMethod(String, IReturnVoid)

View Source
Declaration
public void CustomMethod(string httpVerb, IReturnVoid requestDto)
Parameters
TypeName
System.StringhttpVerb
ServiceStack.IReturnVoidrequestDto

CustomMethod<TResponse>(String, IReturn<TResponse>)

View Source
Declaration
public TResponse CustomMethod<TResponse>(string httpVerb, IReturn<TResponse> requestDto)
Returns

<TResponse>

Parameters
TypeName
System.StringhttpVerb
ServiceStack.IReturn<T>requestDto
Type Parameters
  • TResponse

CustomMethod<TResponse>(String, Object)

View Source
Declaration
public TResponse CustomMethod<TResponse>(string httpVerb, object requestDto)
Returns

<TResponse>

Parameters
TypeName
System.StringhttpVerb
System.ObjectrequestDto
Type Parameters
  • TResponse

PostFile<TResponse>(String, Stream, String, String)

View Source
Declaration
public TResponse PostFile<TResponse>(string relativeOrAbsoluteUrl, Stream fileToUpload, string fileName, string mimeType)
Returns

<TResponse>

Parameters
TypeName
System.StringrelativeOrAbsoluteUrl
System.IO.StreamfileToUpload
System.StringfileName
System.StringmimeType
Type Parameters
  • TResponse

PostFileWithRequest<TResponse>(Stream, String, Object, String)

View Source
Declaration
public TResponse PostFileWithRequest<TResponse>(Stream fileToUpload, string fileName, object request, string fieldName = "file")
Returns

<TResponse>

Parameters
TypeName
System.IO.StreamfileToUpload
System.StringfileName
System.Objectrequest
System.StringfieldName
Type Parameters
  • TResponse

SendOneWay(Object)

View Source
Declaration
public void SendOneWay(object requestDto)
Parameters
TypeName
System.ObjectrequestDto

SendOneWay(String, Object)

View Source
Declaration
public void SendOneWay(string relativeOrAbsoluteUrl, object request)
Parameters
TypeName
System.StringrelativeOrAbsoluteUrl
System.Objectrequest

SendAllOneWay(IEnumerable<Object>)

View Source
Declaration
public void SendAllOneWay(IEnumerable<object> requests)
Parameters
TypeName
System.Collections.Generic.IEnumerable<System.Object>requests

SendOneWay(Object, String)

View Source
Declaration
public void SendOneWay(object requestDto, string action)
Parameters
TypeName
System.ObjectrequestDto
System.Stringaction

SendOneWay(XmlReader, String)

View Source
Declaration
public void SendOneWay(XmlReader reader, string action)
Parameters
TypeName
System.Xml.XmlReaderreader
System.Stringaction

SendOneWay(Message)

View Source
Declaration
public void SendOneWay(Message message)
Parameters
TypeName
System.ServiceModel.Channels.Messagemessage

SetCredentials(String, String)

View Source
Declaration
public void SetCredentials(string userName, string password)
Parameters
TypeName
System.StringuserName
System.Stringpassword

GetAsync<TResponse>(IReturn<TResponse>, CancellationToken)

View Source
Declaration
public Task<TResponse> GetAsync<TResponse>(IReturn<TResponse> requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<<TResponse>>

Parameters
TypeName
ServiceStack.IReturn<T>requestDto
System.Threading.CancellationTokentoken
Type Parameters
  • TResponse

GetAsync<TResponse>(Object, CancellationToken)

View Source
Declaration
public Task<TResponse> GetAsync<TResponse>(object requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<<TResponse>>

Parameters
TypeName
System.ObjectrequestDto
System.Threading.CancellationTokentoken
Type Parameters
  • TResponse

GetAsync<TResponse>(String, CancellationToken)

View Source
Declaration
public Task<TResponse> GetAsync<TResponse>(string relativeOrAbsoluteUrl, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<<TResponse>>

Parameters
TypeName
System.StringrelativeOrAbsoluteUrl
System.Threading.CancellationTokentoken
Type Parameters
  • TResponse

GetAsync(IReturnVoid, CancellationToken)

View Source
Declaration
public Task GetAsync(IReturnVoid requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task

Parameters
TypeName
ServiceStack.IReturnVoidrequestDto
System.Threading.CancellationTokentoken

DeleteAsync<TResponse>(IReturn<TResponse>, CancellationToken)

View Source
Declaration
public Task<TResponse> DeleteAsync<TResponse>(IReturn<TResponse> requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<<TResponse>>

Parameters
TypeName
ServiceStack.IReturn<T>requestDto
System.Threading.CancellationTokentoken
Type Parameters
  • TResponse

DeleteAsync<TResponse>(Object, CancellationToken)

View Source
Declaration
public Task<TResponse> DeleteAsync<TResponse>(object requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<<TResponse>>

Parameters
TypeName
System.ObjectrequestDto
System.Threading.CancellationTokentoken
Type Parameters
  • TResponse

DeleteAsync<TResponse>(String, CancellationToken)

View Source
Declaration
public Task<TResponse> DeleteAsync<TResponse>(string relativeOrAbsoluteUrl, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<<TResponse>>

Parameters
TypeName
System.StringrelativeOrAbsoluteUrl
System.Threading.CancellationTokentoken
Type Parameters
  • TResponse

DeleteAsync(IReturnVoid, CancellationToken)

View Source
Declaration
public Task DeleteAsync(IReturnVoid requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task

Parameters
TypeName
ServiceStack.IReturnVoidrequestDto
System.Threading.CancellationTokentoken

PostAsync<TResponse>(IReturn<TResponse>, CancellationToken)

View Source
Declaration
public Task<TResponse> PostAsync<TResponse>(IReturn<TResponse> requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<<TResponse>>

Parameters
TypeName
ServiceStack.IReturn<T>requestDto
System.Threading.CancellationTokentoken
Type Parameters
  • TResponse

PostAsync<TResponse>(Object, CancellationToken)

View Source
Declaration
public Task<TResponse> PostAsync<TResponse>(object requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<<TResponse>>

Parameters
TypeName
System.ObjectrequestDto
System.Threading.CancellationTokentoken
Type Parameters
  • TResponse

PostAsync<TResponse>(String, Object, CancellationToken)

View Source
Declaration
public Task<TResponse> PostAsync<TResponse>(string relativeOrAbsoluteUrl, object request, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<<TResponse>>

Parameters
TypeName
System.StringrelativeOrAbsoluteUrl
System.Objectrequest
System.Threading.CancellationTokentoken
Type Parameters
  • TResponse

PostAsync(IReturnVoid, CancellationToken)

View Source
Declaration
public Task PostAsync(IReturnVoid requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task

Parameters
TypeName
ServiceStack.IReturnVoidrequestDto
System.Threading.CancellationTokentoken

PutAsync<TResponse>(IReturn<TResponse>, CancellationToken)

View Source
Declaration
public Task<TResponse> PutAsync<TResponse>(IReturn<TResponse> requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<<TResponse>>

Parameters
TypeName
ServiceStack.IReturn<T>requestDto
System.Threading.CancellationTokentoken
Type Parameters
  • TResponse

PutAsync<TResponse>(Object, CancellationToken)

View Source
Declaration
public Task<TResponse> PutAsync<TResponse>(object requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<<TResponse>>

Parameters
TypeName
System.ObjectrequestDto
System.Threading.CancellationTokentoken
Type Parameters
  • TResponse

PutAsync<TResponse>(String, Object, CancellationToken)

View Source
Declaration
public Task<TResponse> PutAsync<TResponse>(string relativeOrAbsoluteUrl, object request, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<<TResponse>>

Parameters
TypeName
System.StringrelativeOrAbsoluteUrl
System.Objectrequest
System.Threading.CancellationTokentoken
Type Parameters
  • TResponse

PutAsync(IReturnVoid, CancellationToken)

View Source
Declaration
public Task PutAsync(IReturnVoid requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task

Parameters
TypeName
ServiceStack.IReturnVoidrequestDto
System.Threading.CancellationTokentoken

PatchAsync<TResponse>(IReturn<TResponse>, CancellationToken)

View Source
Declaration
public Task<TResponse> PatchAsync<TResponse>(IReturn<TResponse> requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<<TResponse>>

Parameters
TypeName
ServiceStack.IReturn<T>requestDto
System.Threading.CancellationTokentoken
Type Parameters
  • TResponse

PatchAsync<TResponse>(Object, CancellationToken)

View Source
Declaration
public Task<TResponse> PatchAsync<TResponse>(object requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<<TResponse>>

Parameters
TypeName
System.ObjectrequestDto
System.Threading.CancellationTokentoken
Type Parameters
  • TResponse

PatchAsync(IReturnVoid, CancellationToken)

View Source
Declaration
public Task PatchAsync(IReturnVoid requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task

Parameters
TypeName
ServiceStack.IReturnVoidrequestDto
System.Threading.CancellationTokentoken

SendAsync<TResponse>(String, String, Object, CancellationToken)

View Source
Declaration
public Task<TResponse> SendAsync<TResponse>(string httpMethod, string absoluteUrl, object request, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<<TResponse>>

Parameters
TypeName
System.StringhttpMethod
System.StringabsoluteUrl
System.Objectrequest
System.Threading.CancellationTokentoken
Type Parameters
  • TResponse

CustomMethodAsync<TResponse>(String, IReturn<TResponse>, CancellationToken)

View Source
Declaration
public Task<TResponse> CustomMethodAsync<TResponse>(string httpVerb, IReturn<TResponse> requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<<TResponse>>

Parameters
TypeName
System.StringhttpVerb
ServiceStack.IReturn<T>requestDto
System.Threading.CancellationTokentoken
Type Parameters
  • TResponse

CustomMethodAsync<TResponse>(String, Object, CancellationToken)

View Source
Declaration
public Task<TResponse> CustomMethodAsync<TResponse>(string httpVerb, object requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<<TResponse>>

Parameters
TypeName
System.StringhttpVerb
System.ObjectrequestDto
System.Threading.CancellationTokentoken
Type Parameters
  • TResponse

CustomMethodAsync(String, IReturnVoid, CancellationToken)

View Source
Declaration
public Task CustomMethodAsync(string httpVerb, IReturnVoid requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task

Parameters
TypeName
System.StringhttpVerb
ServiceStack.IReturnVoidrequestDto
System.Threading.CancellationTokentoken

CustomMethodAsync<TResponse>(String, String, Object, CancellationToken)

View Source
Declaration
public Task<TResponse> CustomMethodAsync<TResponse>(string httpVerb, string relativeOrAbsoluteUrl, object request, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<<TResponse>>

Parameters
TypeName
System.StringhttpVerb
System.StringrelativeOrAbsoluteUrl
System.Objectrequest
System.Threading.CancellationTokentoken
Type Parameters
  • TResponse

CancelAsync()

View Source
Declaration
public void CancelAsync()

Dispose()

View Source
Declaration
public void Dispose()

PostFileWithRequest<TResponse>(String, FileInfo, Object, String)

View Source
Declaration
public TResponse PostFileWithRequest<TResponse>(string relativeOrAbsoluteUrl, FileInfo fileToUpload, object request, string fieldName = "file")
Returns

<TResponse>

Parameters
TypeName
System.StringrelativeOrAbsoluteUrl
System.IO.FileInfofileToUpload
System.Objectrequest
System.StringfieldName
Type Parameters
  • TResponse

PostFileWithRequest<TResponse>(String, Stream, String, Object, String)

View Source
Declaration
public TResponse PostFileWithRequest<TResponse>(string relativeOrAbsoluteUrl, Stream fileToUpload, string fileName, object request, string fieldName = "file")
Returns

<TResponse>

Parameters
TypeName
System.StringrelativeOrAbsoluteUrl
System.IO.StreamfileToUpload
System.StringfileName
System.Objectrequest
System.StringfieldName
Type Parameters
  • TResponse

PostFilesWithRequest<TResponse>(Object, IEnumerable<UploadFile>)

View Source
Declaration
public TResponse PostFilesWithRequest<TResponse>(object request, IEnumerable<UploadFile> files)
Returns

<TResponse>

Parameters
TypeName
System.Objectrequest
System.Collections.Generic.IEnumerable<ServiceStack.UploadFile>files
Type Parameters
  • TResponse

PostFilesWithRequest<TResponse>(String, Object, IEnumerable<UploadFile>)

View Source
Declaration
public TResponse PostFilesWithRequest<TResponse>(string relativeOrAbsoluteUrl, object request, IEnumerable<UploadFile> files)
Returns

<TResponse>

Parameters
TypeName
System.StringrelativeOrAbsoluteUrl
System.Objectrequest
System.Collections.Generic.IEnumerable<ServiceStack.UploadFile>files
Type Parameters
  • TResponse

SendAsync<TResponse>(Object, CancellationToken)

View Source
Declaration
public Task<TResponse> SendAsync<TResponse>(object requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<<TResponse>>

Parameters
TypeName
System.ObjectrequestDto
System.Threading.CancellationTokentoken
Type Parameters
  • TResponse

SendAsync<TResponse>(IReturn<TResponse>, CancellationToken)

View Source
Declaration
public Task<TResponse> SendAsync<TResponse>(IReturn<TResponse> requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<<TResponse>>

Parameters
TypeName
ServiceStack.IReturn<T>requestDto
System.Threading.CancellationTokentoken
Type Parameters
  • TResponse

SendAllAsync<TResponse>(IEnumerable<Object>, CancellationToken)

View Source
Declaration
public Task<List<TResponse>> SendAllAsync<TResponse>(IEnumerable<object> requests, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<System.Collections.Generic.List<<TResponse>>>

Parameters
TypeName
System.Collections.Generic.IEnumerable<System.Object>requests
System.Threading.CancellationTokentoken
Type Parameters
  • TResponse

SendAsync(IReturnVoid, CancellationToken)

View Source
Declaration
public Task SendAsync(IReturnVoid requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task

Parameters
TypeName
ServiceStack.IReturnVoidrequestDto
System.Threading.CancellationTokentoken

PublishAsync(Object, CancellationToken)

View Source
Declaration
public Task PublishAsync(object requestDto, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task

Parameters
TypeName
System.ObjectrequestDto
System.Threading.CancellationTokentoken

PublishAllAsync(IEnumerable<Object>, CancellationToken)

View Source
Declaration
public Task PublishAllAsync(IEnumerable<object> requestDtos, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task

Parameters
TypeName
System.Collections.Generic.IEnumerable<System.Object>requestDtos
System.Threading.CancellationTokentoken

Implements