Sha256: 01921f18d13cd7df7852f3ded05878388e3193c8591d46f8e1274bcfc53db0c4

Contents?: true

Size: 649 Bytes

Versions: 11

Compression:

Stored size: 649 Bytes

Contents

module AnyCable
  module RPC
    interface _Handler
      def build_socket: (env: Env) -> Socket
      def build_env_response: (Socket socket) -> EnvResponse
      def logger: () -> Logger
      def factory: () -> _ConnectionFactory
    end

    class Handler
      include _Handler
      include Handlers::Connect
      include Handlers::Disconnect
      include Handlers::Command

      def initialize: (?middleware: MiddlewareChain) -> void
      def handle: (Symbol cmd, rpcRequest data, ?rpcMetadata meta) -> rpcResponse
      def supported?: (Symbol cmd) -> bool

      private

      attr_reader middleware: MiddlewareChain
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
anycable-core-1.5.2 sig/anycable/rpc/handler.rbs
anycable-core-1.5.1 sig/anycable/rpc/handler.rbs
anycable-core-1.5.0 sig/anycable/rpc/handler.rbs
anycable-core-1.4.4 sig/anycable/rpc/handler.rbs
anycable-core-1.5.0.rc.1 sig/anycable/rpc/handler.rbs
anycable-core-1.4.3 sig/anycable/rpc/handler.rbs
anycable-core-1.4.2 sig/anycable/rpc/handler.rbs
anycable-core-1.4.1 sig/anycable/rpc/handler.rbs
anycable-core-1.4.0 sig/anycable/rpc/handler.rbs
anycable-core-1.4.0.rc.3 sig/anycable/rpc/handler.rbs
anycable-core-1.4.0.rc.2 sig/anycable/rpc/handler.rbs