Function getAdminServer

  • Get a MockRTC admin server, which can be used with a MockRTC remote client to create & manage mock peers either from remote machines or from local environments that lack necessary capabilities, e.g. to use MockRTC from inside a browser.

    This function exists so you can set up these servers programmatically, but for most usage you can just run your tests via the mockrtc binary, which will automatically start and stop an admin server for you:

    mockrtc -c <your test command>
    

    Returns MockRTCAdminServer

Generated using TypeDoc