Add data closure to the cycle_callback of deferred response by etr · Pull Request #145 · etr/libhttpserver · GitHub
Skip to content

Add data closure to the cycle_callback of deferred response#145

Merged
etr merged 4 commits into
masterfrom
deferred_response_data_2
Feb 11, 2019
Merged

Add data closure to the cycle_callback of deferred response#145
etr merged 4 commits into
masterfrom
deferred_response_data_2

Conversation

@etr

@etr etr commented Feb 11, 2019

Copy link
Copy Markdown
Owner

Description of the Change

This change adds a data closure that is passed through the cycle_callback of a deferred response.

Alternate Designs

A couple of pull requests have been proposed to tackle this:

Possible Drawbacks

This adds a template to the deferred_response effectively complicating the interface.

Verification Process

Performed tests on travis.

Release Notes

It is now possible to pass a data closure through the cycle_callback of a deferred response.

@etr etr self-assigned this Feb 11, 2019
@etr etr added feature-request Feature requests or enhancements api Related to libhttpserver's public APIs. labels Feb 11, 2019
@codecov-io

codecov-io commented Feb 11, 2019

Copy link
Copy Markdown

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

Labels

api Related to libhttpserver's public APIs. feature-request Feature requests or enhancements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants