Skip to content

Support byte array in PostFields #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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