PubNux

v0.0.1

  • Pages
  • Modules
  • Protocols

    PubNux v0.0.1 PubNux View Source

    TODO: Write this docs

    Link to this section Summary

    Functions

    publish(channel_name, message, callback \\ "defaultCallback", store \\ false)
    subscribe(channel_name, time_token \\ "0", callback \\ "defaultCallback")

    Link to this section Functions

    Link to this function publish(channel_name, message, callback \\ "defaultCallback", store \\ false) View Source
    publish(String.t, map, String.t, String.t) ::
      {:ok, PubNux.Client.http_response} |
      {:error, PubNux.Client.http_error_response | PubNux.Client.http_bad_request_response}
    Link to this function subscribe(channel_name, time_token \\ "0", callback \\ "defaultCallback") View Source
    subscribe(String.t, String.t, String.t) ::
      {:ok, PubNux.Client.http_response} |
      {:error, PubNux.Client.http_error_response | PubNux.Client.http_bad_request_response}

    Built using ExDoc (v0.16.1), designed by Friedel Ziegelmayer.