<commit_before>frpcaclient
===========

FastRPC async client.

TODO

## Deps

libcurl, libfastrpc

## Desired usage:
```c++ 
#include <frpcaclient.h>

int main() {
    FRPC::Pool_t pool;

    frpc::aclient::ServerProxy proxy;
    frpc::aclient::Request req("http://host:port/RPC2");
    // prepare call someRemoteMethod(1)
    req.prepare("someRemoteMethod", pool.Int(1));

    proxy.add(req);
    // prepare and add more requests... and then launch it.
    proxy.wait();

    if (req.success()) {
        // process result ... FRPC::Struct(req.getResponse(pool));
    }
    return 0;
}
```<commit_msg>Update readme - fail message.<commit_after>frpcaclient
===========

FastRPC async client.

TODO

## Deps

libcurl, libfastrpc

## Desired usage:
```c++ 
#include <frpcaclient.h>

int main() {
    FRPC::Pool_t pool;

    frpc::aclient::ServerProxy proxy;
    frpc::aclient::Request req("http://host:port/RPC2");
    // prepare call someRemoteMethod(1)
    req.prepare("someRemoteMethod", pool.Int(1));

    proxy.add(req);
    // prepare and add more requests... and then launch it.
    proxy.wait();

    if (req.success()) {
        // process result ... FRPC::Struct(req.getResponse(pool));
    } else {
        // fail message: ... std::cerr << req.getError();
        return 1;
    }
    return 0;
}
```
{'fraction_non_alphanumeric': 0.17952635599694422, 'fraction_numerical': 0.006875477463712758, 'mean_word_length': 3.00611620795107, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7161261', 'n_tokens_mistral': 458, 'n_tokens_neox': 438, 'n_words': 98}