SetAppData method

Future<SetAppDataResponse> SetAppData(
  1. SetAppDataRequest input, {
  2. Map<String, String> headers = const {},
})

Implementation

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