Module: Solana::Ruby::Kit::RpcSubscriptions::Api::HasTransport
- Extended by:
- T::Helpers, T::Sig
- Included in:
- Client
- Defined in:
- lib/solana/ruby/kit/rpc_subscriptions/api/has_transport.rb
Overview
Interface supplying the WebSocket connection and subscription plumbing that every notification mixin uses.
The mixins in this namespace are not usable on their own — each one
opens its subscription through transport and wraps it with
_build_subscription, both provided by the object they are mixed into
(RpcSubscriptions::Client). Declaring that requirement here, and
having each mixin requires_ancestor { HasTransport }, lets Sorbet
resolve those calls inside the mixins instead of reporting them missing.
Instance Method Summary collapse
Instance Method Details
#transport ⇒ Object
23 |
# File 'lib/solana/ruby/kit/rpc_subscriptions/api/has_transport.rb', line 23 def transport; end |