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

Feature: allow mocking a web socket connection #41

Open
bksantiago opened this issue Feb 27, 2018 · 2 comments
Open

Feature: allow mocking a web socket connection #41

bksantiago opened this issue Feb 27, 2018 · 2 comments

Comments

@bksantiago
Copy link

Do you intend to support this in the near future?

@mdasberg
Copy link
Owner

Of course that would be an option. I will have to look into it. Do you have any implementation ideas?

@basvermeulen
Copy link

I needed websocket mocking functionality as well, so I forked this repo and added the functionality.
I have to say, my implementation is quite quick and dirty still, but functions as a nice proof of concept.

Ideally I would like to integrate this in the new ng-apimock core branch. @mdasberg I you want, you can have a look at my implementation. The most interesting part I guess, is the test/mocks folder, the rest is just implementation detail.

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

No branches or pull requests

3 participants