Class: OpenAI::Models::Realtime::ConnectionManager
- Inherits:
-
Object
- Object
- OpenAI::Models::Realtime::ConnectionManager
- Defined in:
- sig/openai/helpers/realtime/connection_manager.rbs
Instance Method Summary collapse
-
#initialize ⇒ ConnectionManager
constructor
private
A new instance of ConnectionManager.
- #open {|connection| ... } ⇒ top private
Constructor Details
#initialize ⇒ ConnectionManager
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of ConnectionManager.
6 7 8 9 10 11 12 13 14 |
# File 'sig/openai/helpers/realtime/connection_manager.rbs', line 6
def initialize: (
client: OpenAI::Client,
query: ::Hash[String, String],
websocket_base_url: String?,
transport: untyped,
request_options: OpenAI::request_opts?,
transport_options: ::Hash[Symbol, untyped],
?connection_class: singleton(OpenAI::Realtime::Connection)
) -> void
|
Instance Method Details
#open {|connection| ... } ⇒ top
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
17 |
# File 'sig/openai/helpers/realtime/connection_manager.rbs', line 17
def open: { (OpenAI::Realtime::Connection connection) -> top } -> top
|