Skip to content

Class BuiltInTransports

Namespace: Cephalon.Engine.Transports
Assembly: Cephalon.Engine.dll

Provides the built-in transport descriptors used by Cephalon app profiles.

public static class BuiltInTransports

objectBuiltInTransports

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Gets all built-in transport descriptors.

public static IReadOnlyList<TransportDescriptor> All { get; }

IReadOnlyList<TransportDescriptor>

Gets the built-in behavior HTTP transport descriptor that bridges behavior topology bindings to ASP.NET Core endpoints, including canonical versioned routes for route-shaped transports without the older /behaviors/{id} compatibility aliases.

public static TransportDescriptor BehaviorHttp { get; }

TransportDescriptor

Gets the built-in GraphQL transport descriptor.

public static TransportDescriptor GraphQL { get; }

TransportDescriptor

Gets the built-in gRPC transport descriptor.

public static TransportDescriptor Grpc { get; }

TransportDescriptor

Gets the built-in JSON-RPC transport descriptor.

public static TransportDescriptor JsonRpc { get; }

TransportDescriptor

Gets the built-in REST transport descriptor.

public static TransportDescriptor RestApi { get; }

TransportDescriptor

Gets the built-in server-sent-events transport descriptor.

public static TransportDescriptor ServerSentEvents { get; }

TransportDescriptor

Gets the built-in WebSocket transport descriptor.

public static TransportDescriptor WebSocket { get; }

TransportDescriptor

Resolves a transport identifier, display name, or alias.

public static TransportDescriptor Resolve(string value)

value string

The transport identifier, display name, or alias to resolve.

TransportDescriptor

The resolved transport descriptor.

TryResolve(string, out TransportDescriptor)

Section titled “ TryResolve(string, out TransportDescriptor)”

Attempts to resolve a transport identifier, display name, or alias.

public static bool TryResolve(string value, out TransportDescriptor transport)

value string

The transport identifier, display name, or alias to resolve.

transport TransportDescriptor

The resolved transport descriptor when the lookup succeeds.

bool

true when the transport was resolved; otherwise, false.