Class: Ably::Models::Stats::ConnectionTypes
- Inherits:
-
StatsStruct
- Object
- StatsStruct
- Ably::Models::Stats::ConnectionTypes
- Defined in:
- lib/submodules/ably-ruby/lib/ably/models/stats_types.rb
Overview
ConnectionTypes contains a breakdown of summary stats data for different (TLS vs non-TLS) connection types
Instance Attribute Summary collapse
-
#all ⇒ ResourceCount
readonly
All connection count (includes both TLS & non-TLS connections).
-
#plain ⇒ ResourceCount
readonly
Non-TLS connection count (unencrypted).
-
#tls ⇒ ResourceCount
readonly
TLS connection count.
Attributes inherited from StatsStruct
Method Summary
Methods inherited from StatsStruct
coerce_attributes, #initialize, type_klass
Constructor Details
This class inherits a constructor from Ably::Models::Stats::StatsStruct
Instance Attribute Details
#all ⇒ ResourceCount (readonly)
Returns all connection count (includes both TLS & non-TLS connections).
103 104 105 |
# File 'lib/submodules/ably-ruby/lib/ably/models/stats_types.rb', line 103 class ConnectionTypes < StatsStruct coerce_attributes :tls, :plain, :all, into: ResourceCount end |
#plain ⇒ ResourceCount (readonly)
Returns non-TLS connection count (unencrypted).
103 104 105 |
# File 'lib/submodules/ably-ruby/lib/ably/models/stats_types.rb', line 103 class ConnectionTypes < StatsStruct coerce_attributes :tls, :plain, :all, into: ResourceCount end |
#tls ⇒ ResourceCount (readonly)
Returns TLS connection count.
103 104 105 |
# File 'lib/submodules/ably-ruby/lib/ably/models/stats_types.rb', line 103 class ConnectionTypes < StatsStruct coerce_attributes :tls, :plain, :all, into: ResourceCount end |