共用方式為


AppProtocol Struct

Definition

Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http.

public readonly struct AppProtocol : IEquatable<Azure.ResourceManager.Applications.Containers.Models.AppProtocol>
type AppProtocol = struct
Public Structure AppProtocol
Implements IEquatable(Of AppProtocol)
Inheritance
AppProtocol
Implements

Constructors

AppProtocol(String)

Initializes a new instance of AppProtocol.

Properties

Grpc

grpc.

Http

http.

Methods

Equals(AppProtocol)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(AppProtocol, AppProtocol)

Determines if two AppProtocol values are the same.

Implicit(String to AppProtocol)

Converts a string to a AppProtocol.

Inequality(AppProtocol, AppProtocol)

Determines if two AppProtocol values are not the same.

Applies to