PubNux

v0.2.1

  • Pages
  • Modules

    PubNux v0.2.1 PubNux View Source

    TODO: Write this docs

    Link to this section Summary

    Functions

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

    Link to this section Functions

    Link to this function publish(channel_name, message, callback \\ "defaultCallback", store \\ false, custom_url \\ nil) View Source
    publish(String.t(), map(), String.t(), 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", custom_url \\ nil) View Source
    subscribe(String.t(), 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.18.3), designed by Friedel Ziegelmayer.