GetEmotePackEmotes method

Future<GetEmotePackEmotesResponse> GetEmotePackEmotes(
  1. GetEmotePackEmotesRequest input, {
  2. Map<String, String> headers = const {},
})

Implementation

Future<GetEmotePackEmotesResponse> GetEmotePackEmotes(GetEmotePackEmotesRequest input, {Map<String,String> headers = const {}}) async {
	var response = await $http.post(this.server.replace(path: "/protocol.emote.v1.EmoteService/GetEmotePackEmotes"), body: input.writeToBuffer(), headers: {"content-type": "application/hrpc"}..addAll(headers)..addAll(this.commonHeaders));
	if (response.statusCode != 200) { throw response; }
	return GetEmotePackEmotesResponse.fromBuffer(response.bodyBytes);
}