Interface TimeoutableApiRequest<T>
- All Known Implementing Classes:
GetMessageEventsApiRequest
public interface TimeoutableApiRequest<T>
REST API requests to be executed and return a result of type T.
-
Method Summary
-
Method Details
-
execute
Invokes the HTTP client to send the request to the Zulip REST API and returns a response as type T.- Parameters:
responseTimeoutSeconds
- The timeout value in seconds for the response to timeout- Returns:
- The response for type T
- Throws:
ZulipClientException
- if an error occurs for the API request
-