← All docs

stream_get_transports()

Retrieves list of registered socket transports.

stream_get_transports()

function stream_get_transports(): array

Retrieves list of registered socket transports.

Parameters: none.

Returns: array

Availability

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how stream_get_transports is implemented in the compiler, see the internals page.