HttpRequestSequenceMock 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.
Mock http request in sequence order. The last response will be repeated.
public class HttpRequestSequenceMock : Microsoft.Bot.Builder.Dialogs.Adaptive.Testing.HttpRequestMocks.HttpRequestMock
type HttpRequestSequenceMock = class
inherit HttpRequestMock
Public Class HttpRequestSequenceMock
Inherits HttpRequestMock
- Inheritance
Constructors
HttpRequestSequenceMock(String, Int32) |
Initializes a new instance of the HttpRequestSequenceMock class. |
Fields
Kind |
The type of request. |
Properties
Body |
Gets or sets the body to match against request's body. |
MatchType |
Gets or sets the match type for body. |
Method |
Gets or sets the HttpMethod to match. If null, match to any method. |
Responses |
Gets the sequence of responses to reply. The last one will be repeated. |
Url |
Gets or sets the Url to match. Absolute or relative, may contain * wildcards. |
Methods
RegisterSourcePath(String, Int32) |
helper to register source path with debugger. (Inherited from HttpRequestMock) |
Setup(MockHttpMessageHandler) |
Configures the initial conditions. |