Files
i2psam/README.md

31 lines
579 B
Markdown
Raw Permalink Normal View History

2022-06-09 10:30:29 +00:00
[![License](https://img.shields.io/github/license/i2p/i2psam.svg)](https://github.com/i2p/i2psam/blob/master/LICENSE)
2017-04-02 01:32:33 +13:00
# i2psam
A C++ library for the [SAM v3 API](https://geti2p.net/en/docs/api/samv3).
2017-04-02 09:26:35 +12:00
## Development Status
2022-06-08 18:39:34 +01:00
The library will require SAM v3.1 server.
2019-07-27 22:03:47 +02:00
Pre-release (ongoing refactoring work and migration to C++11).
2017-04-02 09:26:35 +12:00
2017-04-02 01:32:33 +13:00
## Usage
2022-06-08 18:16:14 +01:00
### Library
2022-06-08 18:39:34 +01:00
Copy the files `i2psam.cpp` and `i2psam.h` into your codebase.
You can also build the library `libi2psam.a`:
2017-04-02 11:37:20 +12:00
2022-06-08 18:16:14 +01:00
```
make
```
2017-04-02 11:34:23 +12:00
2022-06-08 18:16:14 +01:00
### Example
2019-07-27 22:03:47 +02:00
2022-06-08 18:39:34 +01:00
See `eepget.cpp` for example TCP client usage.
2022-06-08 18:16:14 +01:00
Build with:
2019-07-27 22:03:47 +02:00
2022-06-08 18:16:14 +01:00
```
make eepget
```