Class BuiltInTransports
Namespace: Cephalon.Engine.Transports
Assembly: Cephalon.Engine.dll
Provides the built-in transport descriptors used by Cephalon app profiles.
public static class BuiltInTransportsInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Properties
Section titled “Properties”Gets all built-in transport descriptors.
public static IReadOnlyList<TransportDescriptor> All { get; }Property Value
Section titled “Property Value”IReadOnlyList<TransportDescriptor>
BehaviorHttp
Section titled “ BehaviorHttp”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; }Property Value
Section titled “Property Value”TransportDescriptor
GraphQL
Section titled “ GraphQL”Gets the built-in GraphQL transport descriptor.
public static TransportDescriptor GraphQL { get; }Property Value
Section titled “Property Value”TransportDescriptor
Gets the built-in gRPC transport descriptor.
public static TransportDescriptor Grpc { get; }Property Value
Section titled “Property Value”TransportDescriptor
JsonRpc
Section titled “ JsonRpc”Gets the built-in JSON-RPC transport descriptor.
public static TransportDescriptor JsonRpc { get; }Property Value
Section titled “Property Value”TransportDescriptor
RestApi
Section titled “ RestApi”Gets the built-in REST transport descriptor.
public static TransportDescriptor RestApi { get; }Property Value
Section titled “Property Value”TransportDescriptor
ServerSentEvents
Section titled “ ServerSentEvents”Gets the built-in server-sent-events transport descriptor.
public static TransportDescriptor ServerSentEvents { get; }Property Value
Section titled “Property Value”TransportDescriptor
WebSocket
Section titled “ WebSocket”Gets the built-in WebSocket transport descriptor.
public static TransportDescriptor WebSocket { get; }Property Value
Section titled “Property Value”TransportDescriptor
Methods
Section titled “Methods”Resolve(string)
Section titled “ Resolve(string)”Resolves a transport identifier, display name, or alias.
public static TransportDescriptor Resolve(string value)Parameters
Section titled “Parameters”value string
The transport identifier, display name, or alias to resolve.
Returns
Section titled “Returns”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)Parameters
Section titled “Parameters”value string
The transport identifier, display name, or alias to resolve.
transport TransportDescriptor
The resolved transport descriptor when the lookup succeeds.