f1_bot v0.7.0
  • Pages
  • Modules
  • Mix Tasks

    View Source F1Bot.ExternalApi.SignalR.Client (f1_bot v0.7.0)

    A signalR client that establishes a websocket connection to the live timing API and handles all received events by forming F1Bot.F1Session.LiveTimingHandlers.Packet structs and passing them to F1Bot.F1Session.LiveTimingHandlers for processing.

    Useful documentation for SignalR 1.2: https://blog.3d-logic.com/2015/03/29/signalr-on-the-wire-an-informal-description-of-the-signalr-protocol/

    https://learn.microsoft.com/en-us/aspnet/core/signalr/introduction https://github.com/SignalR/SignalR/blob/f3600c71f83d8312ad61bced0ca547795734d51e/src/Microsoft.AspNet.SignalR.Client/Connection.cs https://github.com/SignalR/SignalR/blob/f3600c71f83d8312ad61bced0ca547795734d51e/src/Microsoft.AspNet.SignalR.Client/Transports/TransportHelper.cs

    Link to this section Summary

    Functions

    child_spec(init_arg)

    Returns a specification to start this module under a supervisor.

    start_link(opts)
    ws_handle_connected()
    ws_handle_message(message)

    Link to this section Functions

    Link to this function

    child_spec(init_arg)

    View Source

    Returns a specification to start this module under a supervisor.

    See Supervisor.

    Link to this function

    start_link(opts)

    View Source
    Link to this function

    ws_handle_connected()

    View Source
    Link to this function

    ws_handle_message(message)

    View Source

    Download ePub version

    Built using ExDoc (v0.29.1) for the Elixir programming language