Skip to content

Latest commit

 

History

History
131 lines (91 loc) · 1.76 KB

File metadata and controls

131 lines (91 loc) · 1.76 KB

WebSocketSession

  • class WebSocketSession (php\http\WebSocketSession)
  • package http
  • source php/http/WebSocketSession.php

Methods


Methods

idleTimeout()

idleTimeout(): int

remoteAddress()

remoteAddress(): string

sendText()

sendText(string $text, [ callable|null $callback): void

sendPartialText()

sendPartialText(string $text, bool $isLast): void

close()

close(int $status, string|null $reason): void

disconnect()

disconnect(): void

isOpen()

isOpen(): bool

isSecure()

isSecure(): bool

protocolVersion()

protocolVersion(): string

policy()

policy(): array

batchMode()

batchMode(string $mode): string

flush()

flush(): void