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

Make MockRequestDispatcher::with_request_checker to owned request #1930

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

Commits on Apr 18, 2021

  1. Make MockRequestDispatcher::with_request_checker to owned request

    Currently MockRequestDispatcher::with_request_checker takes a Fn
    that passes a non-mutable reference to the checker function. This
    causes issues for users who wish to check a streamed payload's
    contents because it is immutable. By making it owned it will no
    longer be a problem.
    allada committed Apr 18, 2021
    Configuration menu
    Copy the full SHA
    d357bea View commit details
    Browse the repository at this point in the history