Skip to content
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

Add Pop method to ZmqMessage #123

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mrijkeboer
Copy link

I've added a Pop method to ZmqMessage that is equivalent to zmsg_pop(). We need this method since Unwrap also deletes the second frame when it's empty and this is sometimes unwanted e.g. when the payload frame after the header is null but we still want to submit the empty payload frame to the higher layers.

@TimGunnells
Copy link

Thank you. I needed this.

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.

None yet

2 participants