Show / Hide Table of Contents

Interface IPlatformTransport<TRequest, TResponse>

The transport interface that feeds in the data to platform and process the output.

Inherited Members
IPlatformTransport.SendOutboundRequestAsync(IPlatformRequest)
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 Source

ReceiveInboundRequestAsync(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.

  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX