Delen via


HttpRequest Constructors

Definitie

Overloads

HttpRequest(String, Int32)

Initialiseert een nieuw exemplaar van de HttpRequest klasse.

HttpRequest(HttpRequest+HttpMethod, String, Dictionary<String,StringExpression>, Object, String, Int32)

Initialiseert een nieuw exemplaar van de HttpRequest klasse.

HttpRequest(String, Int32)

Initialiseert een nieuw exemplaar van de HttpRequest klasse.

public HttpRequest(string callerPath = "", int callerLine = 0);
new Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.HttpRequest : string * int -> Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.HttpRequest
Public Sub New (Optional callerPath As String = "", Optional callerLine As Integer = 0)

Parameters

callerPath
String

Optioneel, volledig pad naar bronbestand.

callerLine
Int32

Optioneel, regelnummer in bronbestand.

Van toepassing op

HttpRequest(HttpRequest+HttpMethod, String, Dictionary<String,StringExpression>, Object, String, Int32)

Initialiseert een nieuw exemplaar van de HttpRequest klasse.

public HttpRequest(Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.HttpRequest.HttpMethod method, string url, System.Collections.Generic.Dictionary<string,AdaptiveExpressions.Properties.StringExpression> headers = default, object body = default, string callerPath = "", int callerLine = 0);
new Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.HttpRequest : Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.HttpRequest.HttpMethod * string * System.Collections.Generic.Dictionary<string, AdaptiveExpressions.Properties.StringExpression> * obj * string * int -> Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.HttpRequest
Public Sub New (method As HttpRequest.HttpMethod, url As String, Optional headers As Dictionary(Of String, StringExpression) = Nothing, Optional body As Object = Nothing, Optional callerPath As String = "", Optional callerLine As Integer = 0)

Parameters

method
HttpRequest.HttpMethod

De HTTP-methode, bijvoorbeeld POST, GET, DELETE of PUT.

url
String

URL voor de aanvraag.

headers
Dictionary<String,StringExpression>

Optioneel, de headers van de aanvraag.

body
Object

Optioneel, de onbewerkte hoofdtekst van de aanvraag.

callerPath
String

Optioneel, volledig pad naar bronbestand.

callerLine
Int32

Optioneel, regelnummer in bronbestand.

Van toepassing op