getPoll function

Future<ServerResponse<PostSearchResponse>> getPoll (HttpClient http, GetPollParams params)

Gets the specified forum poll.

Implementation

Future<ServerResponse<PostSearchResponse>> getPoll(HttpClient http, GetPollParams params) {
  return http.request(new HttpClientConfig(
    'GET',
    "https://www.bungie.net/Platform/Forum/Poll/${params.topicId}/",
    null,
    null
    ));
}