Class EventingFunctionUrlBinding
These bindings are utilized by the cURL language construct to access external resources.
Inherited Members
Namespace: Couchbase.Management.Eventing
Assembly: Couchbase.NetClient.dll
Syntax
[JsonConverter(typeof(EventingFunctionUrlBindingConverter))]
public class EventingFunctionUrlBinding
Properties
| Edit this page View SourceAlias
Symbolic name used in code to refer to this binding
Declaration
[JsonPropertyName("value")]
public string Alias { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Required. The minimum length is 1 and the max is 20.
AllowCookies
Allow cookies on the session.
Declaration
[JsonPropertyName("allow_cookies")]
public bool AllowCookies { get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
Required. The default is true.
Auth
The http authentication method to use with this endpoint.
Declaration
[JsonIgnore]
public IEventingFunctionUrlAuth Auth { get; set; }
Property Value
Type | Description |
---|---|
IEventingFunctionUrlAuth |
Hostname
Full URL (including any path) that this binding connects.
Declaration
[JsonPropertyName("hostname")]
public string Hostname { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
Required. The minimum length is 1.
ValidateSslCertificate
Validate remote server certificate using OS mechanisms.
Declaration
[JsonPropertyName("validate_ssl_certificate")]
public bool ValidateSslCertificate { get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
Required.
Methods
| Edit this page View SourceToJson()
Declaration
[Obsolete]
public JObject ToJson()
Returns
Type | Description |
---|---|
JObject |