PubNux v0.2.0 PubNux View Source
TODO: Write this docs
Link to this section Summary
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()}