Skip to content

Comments

Support byte array in PostFields#6

Open
mmchen wants to merge 3 commits intodatacratic:masterfrom
mmchen:master
Open

Support byte array in PostFields#6
mmchen wants to merge 3 commits intodatacratic:masterfrom
mmchen:master

Conversation

@mmchen
Copy link

@mmchen mmchen commented Feb 24, 2017

Right now PostFields only accepts std::string or const char*. In case payload is a byte array, e.g. [0x01 0x01 0x00 0x01], it will drop anything after the first 0x00. This change adds support for byte array in PostFields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant