drupflare/worker - v1.0.4
    Preparing search index...

    Function parseSocketTarget

    • Parses tcp://host:port or host:port, as stream_socket_client and fsockopen take. Port 25 is refused: Workers block it, so a park there would wait forever.

      Parameters

      • target: string

      Returns { host: string; port: number } | undefined