class TinkoffStreamApi

Overview

Для работы со Stream API Тинькофф

Defined in:

tinkoff_api/tinkoff_stream_api.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(client : HTTP::WebSocket) #

[View source]

Class Method Detail

def self.connect(token : String, &onconnect : StreamApi -> Void) : StreamApi #

[View source]

Instance Method Detail

def on_message(&onmessage : StreamEvent -> Void) #

[View source]
def run #

[View source]
def send(data : String) #

[View source]