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 server.canHandle #320

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

Add server.canHandle #320

wants to merge 1 commit into from

Conversation

ryanto
Copy link
Contributor

@ryanto ryanto commented Feb 12, 2020

This PR adds server.canHandle using the RequestHandler defined in #159. This is the first step in getting node support, as well as an API for asking Mirage what routes it can respond to.

The recognizer isn't used the handle requests, but it's got an API for holding onto the handlers so we're using it for storage.

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

1 participant