public static function factory($streamClass = 'GuzzleHttp\\Psr7\\Stream')
    {
        return new static([
            new ResourceAdapter($streamClass),
            new DomDocumentAdapter($streamClass),
            new SimpleXmlAdapter($streamClass),
            new StringAdapter($streamClass),
        ]);
    }