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

feat: add generate_contents methods #443

Merged
merged 1 commit into from
Jun 19, 2024
Merged

Conversation

JP-Ellis
Copy link
Contributor

The various get_contents FFI method return the raw (unprocessed) contents of the request/response, including all generators and matching rules. The generate_contents alternatives are used to process these generators so that the actual messages as received by the consumer can be retrieved.

@JP-Ellis JP-Ellis self-assigned this Jun 19, 2024
@JP-Ellis
Copy link
Contributor Author

Fixed the points you mentioned above.

I'll add a few tests as well to make sure the functions are working as expected.

The various `get_contents` FFI method return the raw (unprocessed)
contents of the request/response, including all generators and matching
rules. The `generate_contents` alternatives are used to process these
generators so that the actual messages as received by the consumer can
be retrieved.

Signed-off-by: JP-Ellis <[email protected]>
@JP-Ellis JP-Ellis marked this pull request as ready for review June 19, 2024 01:52
@JP-Ellis
Copy link
Contributor Author

Tests have now been added.

@rholshausen rholshausen merged commit 3acc9ae into master Jun 19, 2024
63 checks passed
@rholshausen rholshausen deleted the feat/generate-contents branch June 19, 2024 04:21
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.

2 participants