::UID2Client::refresh_json(json)
const char* json;
CODE:
uid2::RefreshResult result = uid2::RefreshResult::MakeError("");
try {
result = THIS->RefreshJson(json);
}
catch (s
croak("%s", str);
}
catch (...) {
croak("exception occurred during refresh_json()");
}
RETVAL = make_refresh_result(aTHX_ result);
OUTPUT:
RETVAL
SV*
uid2::UID2Clie
"js"_:
case "mjs"_: return "application/javascript";
case "json"_: return "application/json";
case "rss"_: return "application/rss+xml";
case "tar"_: r
content_type == "application/javascript" ||
content_type == "application/json" ||
content_type == "application/xml" ||
content_type == "applica
ult DecryptData(const std::string& encryptedData) override;
RefreshResult RefreshJson(const std::string& json);
private:
struct Impl;
std::unique_ptr<Impl> impl_;
};
class UID2ClientFac
or failure if I<is_success> is false.
=back
=head2 refresh_json
my $result = $client->refresh_json($json);
Updates keys with the JSON string and returns a hashref containing the response. The ha