IServiceGateway
The minimal API Surface to capture the most common SYNC requests. Convenience extensions over these core API's available in ServiceGatewayExtensions
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IServiceGateway
Methods
Send<TResponse>(Object)
Normal Request/Reply Services
View Source
Declaration
TResponse Send<TResponse>(object requestDto)
Returns
<TResponse>
Parameters
Type | Name |
---|---|
System.Object | requestDto |
Type Parameters
TResponse
SendAll<TResponse>(IEnumerable<Object>)
Auto Batched Request/Reply Requests
View Source
Declaration
List<TResponse> SendAll<TResponse>(IEnumerable<object> requestDtos)
Returns
System.Collections.Generic.List<<TResponse>>
Parameters
Type | Name |
---|---|
System.Collections.Generic.IEnumerable<System.Object> | requestDtos |
Type Parameters
TResponse
Publish(Object)
OneWay Service
View Source
Declaration
void Publish(object requestDto)
Parameters
Type | Name |
---|---|
System.Object | requestDto |
PublishAll(IEnumerable<Object>)
Auto Batched OneWay Requests
View Source
Declaration
void PublishAll(IEnumerable<object> requestDtos)
Parameters
Type | Name |
---|---|
System.Collections.Generic.IEnumerable<System.Object> | requestDtos |