Function egg_mode::service::config [] [src]

pub fn config(token: &Token, handle: &Handle) -> FutureResponse<Configuration>

Returns a future that resolves to the current configuration from Twitter, including the maximum length of a t.co URL and maximum photo resolutions per size, among others.

From Twitter: "It is recommended applications request this endpoint when they are loaded, but no more than once a day."

See the documentation for the Configuration struct for a discussion of what individual fields returned by this function mean.