StreamingRequest Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implementation split between Request and RequestEx. The basic request type sent over Bot Framework Protocol 3 with Streaming Extensions transports, equivalent to HTTP request messages.
public class StreamingRequest
type StreamingRequest = class
Public Class StreamingRequest
- Inheritance
-
StreamingRequest
Constructors
StreamingRequest() |
Fields
DELETE |
Verb used by requests to delete data hosted on a remote server. |
GET |
Verb used by requests to get resources hosted on a remote server. |
POST |
Verb used by requests posting data to a remote server. |
PUT |
Verb used by requests putting updated data on a remote server. |
Properties
Path |
Gets or sets the path this request will route to on the remote server. |
Streams |
Gets or sets the collection of stream attachments included in this request. |
Verb |
Gets or sets the verb action this request will perform. |
Methods
AddStream(HttpContent, Guid) |
Adds a new stream attachment to this StreamingRequest. |
AddStream(HttpContent) |
Adds a new stream attachment to this StreamingRequest. |
CreateDelete(String, HttpContent) |
Creates a StreamingRequest to delete data hosted on a remote server. |
CreateGet(String, HttpContent) |
Creates a StreamingRequest to get resources hosted on a remote server. |
CreatePost(String, HttpContent) |
Creates a StreamingRequest to post data to a remote server. |
CreatePut(String, HttpContent) |
Creates a StreamingRequest to put updated data on a remote server. |
CreateRequest(String, String, HttpContent) |
Creates a StreamingRequest with the passed in method, path, and body. |
Extension Methods
SetBody(StreamingRequest, Object) |
Adds a new stream to this StreamingRequest containing the passed in body. Noop on null body or null request. |
SetBody(StreamingRequest, String) |
Adds a new stream to this StreamingRequest containing the passed in body. Noop on null body or null request. |