Module: OpenAI::WebSocket::TypedResource Private
- Includes:
- Resource
- Included in:
- Resources::Beta::Responses, Resources::Live, Resources::Live::Forks, Resources::Live::Sideband, Resources::Realtime, Resources::Realtime::Translations, Resources::Responses
- Defined in:
- lib/openai/helpers/websocket/typed_resource.rb,
sig/openai/helpers/websocket.rbs
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Supplies the generic signature contract for generated event bindings. Connection lifecycle and event handling are implemented by Resource.
Instance Method Summary collapse
- #connect {|arg0| ... } ⇒ Object private
Instance Method Details
#connect {|arg0| ... } ⇒ Object
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.
33 34 35 36 37 38 39 40 41 42 |
# File 'sig/openai/helpers/websocket.rbs', line 33
def connect: (
*untyped path_arguments,
?query: Hash[untyped, untyped],
?websocket_base_url: String?,
?request_options: untyped,
?transport: untyped,
?transport_options: Hash[untyped, untyped]
) {
(TypedConnection[WebSocketClientEvent, WebSocketServerEvent]) -> untyped
} -> untyped
|