package polymarket

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Client.UserSource

Sourcetype t

User channel client handle.

Sourceval connect : sw:Eio.Switch.t -> net:'a Eio.Net.t -> clock:float Eio.Time.clock_ty Eio.Resource.t -> credentials:Polymarket_common.Auth.credentials -> markets:string list -> unit -> t

Connect to the user channel with authentication.

Get the stream of user messages.

Sourceval close : t -> unit

Close the connection.