var searchIndex = {}; searchIndex["pusher"] = {"doc":"# Pusher-HTTP-Rust","items":[[3,"Pusher","pusher","A client to interact with Pusher's HTTP API to trigger, query application state,\nauthenticate private- or presence-channels, and validate webhooks.",null,null],[12,"app_id","","Your app_id from <http://app.pusher.com>",0,null],[12,"key","","Your key from <http://app.pusher.com>",0,null],[12,"secret","","Your secret from <http://app.pusher.com>",0,null],[12,"host","","The host you wish to connect to. Defaults to api.pusherapp.com",0,null],[12,"secure","","If true, requests are made over HTTPS.",0,null],[12,"http_client","","The underlying Hyper HTTP client.",0,null],[3,"PusherBuilder","","An ephemeral object upon which to pass configuration options to when\ninitializing a Pusher instance.",null,null],[12,"app_id","","",1,null],[12,"key","","",1,null],[12,"secret","","",1,null],[12,"host","","",1,null],[12,"secure","","",1,null],[12,"http_client","","",1,null],[3,"Member","","When authenticating presence-channels, this represents a particular member\nof the channel. This object becomes associated with that user's subscription.",null,null],[12,"user_id","","",2,null],[12,"user_info","","",2,null],[3,"Webhook","","This is returned upon validating that a webhook is indeed from Pusher,\ncarrying all the data received by that POST request.",null,null],[12,"time_ms","","",3,null],[12,"events","","",3,null],[3,"Channel","","This represents the data received upon querying the state of a Pusher channel.",null,null],[12,"occupied","","",4,null],[12,"user_count","","",4,null],[12,"subscription_count","","",4,null],[3,"ChannelList","","A list of channels returned by the API.",null,null],[12,"channels","","",5,null],[3,"ChannelUserList","","The list of users subscribed to a presence channel, as returned by the Pusher\nAPI.",null,null],[12,"users","","",6,null],[3,"TriggeredEvents","","Any event_ids returned by the HTTP API, if connected to certain clusters.",null,null],[12,"event_ids","","",7,null],[11,"host","","",1,null],[11,"secure","","",1,null],[11,"client","","",1,null],[11,"finalize","","",1,null],[11,"new","","Initializes the client that makes requests to the HTTP API, authenticates\nprivate- or presence-channels, and validates webhooks.",0,{"inputs":[{"name":"str"},{"name":"str"},{"name":"str"}],"output":{"name":"pusherbuilder"}}],[11,"from_url","","Initializes a client from a Pusher URL.",0,{"inputs":[{"name":"str"}],"output":{"name":"pusherbuilder"}}],[11,"from_env","","Initializes a client from an environment variable Pusher URL.",0,{"inputs":[{"name":"str"}],"output":{"name":"pusherbuilder"}}],[11,"trigger","","This method allows you to trigger Pusher events. You can test this out by\ngoing on your debug console at <http://app.pusher.com>.",0,null],[11,"trigger_exclusive","","This method allow you to exclude a recipient whose connection has that\n`socket_id` from receiving the event. You can read more here: \n<http://pusher.com/docs/duplicates>.",0,null],[11,"trigger_multi","","This method allow you to trigger an event on multiple channels, with a\nmaximum of 10.",0,null],[11,"trigger_multi_exclusive","","This method allow you to trigger an event on multiple channels and exclude\na recipient with a given `socket_id`.",0,null],[11,"channels","","One can use this method to get a list of all the channels in an application from the HTTP API.",0,null],[11,"channels_with_options","","",0,null],[11,"channel","","",0,null],[11,"channel_with_options","","",0,null],[11,"channel_users","","",0,null],[11,"authenticate_private_channel","","",0,null],[11,"authenticate_presence_channel","","",0,null],[11,"webhook","","",0,null],[11,"fmt","","",7,null],[11,"decode","","",7,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"fmt","","",5,null],[11,"decode","","",5,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"encode","","",2,null],[11,"fmt","","",3,null],[11,"decode","","",3,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"fmt","","",4,null],[11,"decode","","",4,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"fmt","","",6,null],[11,"decode","","",6,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[6,"QueryParameters","","When querying the state of Pusher channels, you can pass this in to specify\noptions.",null,null]],"paths":[[3,"Pusher"],[3,"PusherBuilder"],[3,"Member"],[3,"Webhook"],[3,"Channel"],[3,"ChannelList"],[3,"ChannelUserList"],[3,"TriggeredEvents"]]}; initSearch(searchIndex);