Skip to content

Latest commit

 

History

History
144 lines (101 loc) · 2.2 KB

NetStream.md

File metadata and controls

144 lines (101 loc) · 2.2 KB

NetStream

  • class NetStream (php\net\NetStream) extends Stream
  • package std
  • source php/net/NetStream.php

Description

http, ftp protocols

Class NetStream


Methods


Methods

read()

read(mixed $length): void

{@inheritdoc}


readFully()

readFully(int $bufferSize): mixed|void

readFullyWithCallback()

readFullyWithCallback(int $bufferSize, callable $callback): void

write()

write(mixed $value, mixed $length): void

{@inheritdoc}


eof()

eof(): void

{@inheritdoc}


seek()

seek(mixed $position): void

{@inheritdoc}


getPosition()

getPosition(): void

{@inheritdoc}


close()

close(): void

{@inheritdoc}


getUrl()

getUrl(): URL

setProxy()

setProxy(php\net\Proxy $proxy): void

getProxy()

getProxy(): Proxy

getUrlConnection()

getUrlConnection(): URLConnection