Class: Spikard::GrpcConfig
- Inherits:
-
Object
- Object
- Spikard::GrpcConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#enable_compression ⇒ Boolean?
Returns the value of attribute enable_compression.
-
#enable_keepalive ⇒ Boolean?
Returns the value of attribute enable_keepalive.
-
#enabled ⇒ Boolean?
Returns the value of attribute enabled.
-
#keepalive_interval ⇒ Integer?
Returns the value of attribute keepalive_interval.
-
#keepalive_timeout ⇒ Integer?
Returns the value of attribute keepalive_timeout.
-
#max_concurrent_streams ⇒ Integer?
Returns the value of attribute max_concurrent_streams.
-
#max_message_size ⇒ Integer?
Returns the value of attribute max_message_size.
-
#max_stream_response_bytes ⇒ Integer?
Returns the value of attribute max_stream_response_bytes.
-
#request_timeout ⇒ Integer?
Returns the value of attribute request_timeout.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ GrpcConfig
constructor
A new instance of GrpcConfig.
Constructor Details
#initialize ⇒ GrpcConfig
Returns a new instance of GrpcConfig.
160 |
# File 'sig/types.rbs', line 160
def initialize: (?enabled: bool, ?max_message_size: Integer, ?enable_compression: bool, ?request_timeout: Integer, ?max_concurrent_streams: Integer, ?enable_keepalive: bool, ?keepalive_interval: Integer, ?keepalive_timeout: Integer, ?max_stream_response_bytes: Integer) -> void
|
Instance Attribute Details
#enable_compression ⇒ Boolean?
Returns the value of attribute enable_compression.
152 153 154 |
# File 'sig/types.rbs', line 152 def enable_compression @enable_compression end |
#enable_keepalive ⇒ Boolean?
Returns the value of attribute enable_keepalive.
155 156 157 |
# File 'sig/types.rbs', line 155 def enable_keepalive @enable_keepalive end |
#enabled ⇒ Boolean?
Returns the value of attribute enabled.
150 151 152 |
# File 'sig/types.rbs', line 150 def enabled @enabled end |
#keepalive_interval ⇒ Integer?
Returns the value of attribute keepalive_interval.
156 157 158 |
# File 'sig/types.rbs', line 156 def keepalive_interval @keepalive_interval end |
#keepalive_timeout ⇒ Integer?
Returns the value of attribute keepalive_timeout.
157 158 159 |
# File 'sig/types.rbs', line 157 def keepalive_timeout @keepalive_timeout end |
#max_concurrent_streams ⇒ Integer?
Returns the value of attribute max_concurrent_streams.
154 155 156 |
# File 'sig/types.rbs', line 154 def max_concurrent_streams @max_concurrent_streams end |
#max_message_size ⇒ Integer?
Returns the value of attribute max_message_size.
151 152 153 |
# File 'sig/types.rbs', line 151 def @max_message_size end |
#max_stream_response_bytes ⇒ Integer?
Returns the value of attribute max_stream_response_bytes.
158 159 160 |
# File 'sig/types.rbs', line 158 def max_stream_response_bytes @max_stream_response_bytes end |
#request_timeout ⇒ Integer?
Returns the value of attribute request_timeout.
153 154 155 |
# File 'sig/types.rbs', line 153 def request_timeout @request_timeout end |