Skip to content

Latest commit

 

History

History
144 lines (101 loc) · 2.29 KB

NetStream.ru.md

File metadata and controls

144 lines (101 loc) · 2.29 KB

NetStream

  • класс NetStream (php\net\NetStream) унаследован от Stream
  • пакет std
  • исходники php/net/NetStream.php

Описание

http, ftp protocols

Class NetStream


Методы


Методы

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