()
Setup the mimic application using steps similar to
    :obj:`mimic.tap.makeService' and start listening for requests.
Setup the mimic application using steps similar to
    :obj:`mimic.tap.makeService' and start listening for requests.
Setup the mimic application using steps similar to : obj : mimic . tap . makeService and start listening for requests .
def startMimic():
    """
    Setup the mimic application using steps similar to
    :obj:`mimic.tap.makeService' and start listening for requests.
    """
    clock = Clock()
    core = MimicCore.fromPlugins(clock)
    root = MimicRoot(core, clock)
    site = Site(root.app.resource())
    site.displayTracebacks = False

    endpoint = serverFromString(
        reactor,
        b"tcp:{0}:interface=127.0.0.1".format(_PORT)
    )
    endpoint.listen(site)
def startMimic ( ) : clock = Clock ( ) core = MimicCore . fromPlugins ( clock ) root = MimicRoot ( core , clock ) site = Site ( root . app . resource ( ) ) site . displayTracebacks = False endpoint = serverFromString ( reactor , b"tcp:{0}:interface=127.0.0.1" . format ( _PORT ) ) endpoint . listen ( site )