src/Io/Sender.php
public static function createFromLoop(LoopInterface $loop, ConnectorInterface $connector = null, MessageFactory $messageFactory)
    {
        return new self(new HttpClient($loop, $connector), $messageFactory);
    }
public static function createFromLoop(LoopInterface $loop, ConnectorInterface $connector = null, MessageFactory $messageFactory)
    {
        return new self(new HttpClient($loop, $connector), $messageFactory);
    }
public static function createFromLoop ( LoopInterface $ loop , ConnectorInterface $ connector = null , MessageFactory $ messageFactory ) { return new self ( new HttpClient ( $ loop , $ connector ) , $ messageFactory ) ; }
create a new default sender attached to the given event loop

This method is used internally to create the "default sender".

You may also use this method if you need custom DNS or connector
settings. You can use this method manually like this:

```php
$connector = new \React\Socket\Connector($loop);
$sender = \Clue\React\Buzz\Io\Sender::createFromLoop($loop, $connector);
```

@param LoopInterface $loop
@param ConnectorInterface|null $connector
@return self
create a new default sender attached to the given event loop