Skip to main content

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
TypeName
System.ObjectrequestDto
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
TypeName
System.Collections.Generic.IEnumerable<System.Object>requestDtos
Type Parameters
  • TResponse

Publish(Object)

OneWay Service

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

PublishAll(IEnumerable<Object>)

Auto Batched OneWay Requests

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