Skip to content

Class HttpBehaviorBindingExtensions

Namespace: Cephalon.Behaviors.Http.Hosting
Assembly: Cephalon.Behaviors.Http.dll

Extension methods for registering the HTTP transport binding pack into the behavior DI container.

public static class HttpBehaviorBindingExtensions

objectHttpBehaviorBindingExtensions

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

AddHttpBehaviorBindings(IBehaviorCollectionBuilder)

Section titled “ AddHttpBehaviorBindings(IBehaviorCollectionBuilder)”

Registers all 6 generic HTTP transport bindings (JSON-RPC, GraphQL, GraphQL-SSE, GraphQL-WS, SSE, WebSocket) and the as singletons in the service collection.

public static IBehaviorCollectionBuilder AddHttpBehaviorBindings(this IBehaviorCollectionBuilder builder)

builder IBehaviorCollectionBuilder

The behavior collection builder to extend.

IBehaviorCollectionBuilder

The same builder for fluent chaining.