Interface IPlatformTransport<TRequest, TResponse>
The transport interface that feeds in the data to platform and process the output.
Inherited Members
Namespace: Microsoft.Bot.Builder.Enterprise.Transport
Assembly: Microsoft.Bot.Builder.Enterprise.dll
Syntax
public interface IPlatformTransport<TRequest, TResponse> : IPlatformTransport
Type Parameters
Name | Description |
---|---|
TRequest | The type of request. |
TResponse | The type of response. |
Methods
View SourceReceiveInboundRequestAsync(TRequest)
Receives the inbound request from the server, processes it and then respond to it.
Declaration
Task<TResponse> ReceiveInboundRequestAsync(TRequest request)
Parameters
Type | Name | Description |
---|---|---|
TRequest | request | The request from the server to platform. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResponse> | The response to be delivered to the server. |