(def-twitter-method fn-name default-verb resource-path & rest)
Declares a twitter method with the supplied name, HTTP verb and relative resource path. As part of the specification, it must have an :api and :callbacks member of the 'rest' list. From these it creates a uri, the api context and relative resource path. The default callbacks that are supplied, determine how to make the call (in terms of the sync/async or single/streaming)
Declares a twitter method with the supplied name, HTTP verb and relative resource path. As part of the specification, it must have an :api and :callbacks member of the 'rest' list. From these it creates a uri, the api context and relative resource path. The default callbacks that are supplied, determine how to make the call (in terms of the sync/async or single/streaming)
(default-client)
makes a default async client for the http comms
makes a default async client for the http comms
(http-request verb uri arg-map)
calls the verb on the resource specified in the uri, signing with oauth in the headers you can supply args for async.http.client (e.g. :query, :body, :headers etc).
calls the verb on the resource specified in the uri, signing with oauth in the headers you can supply args for async.http.client (e.g. :query, :body, :headers etc).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close