Core
Framework v2.x
2

destroy() #

Destroys the wrapped stream.

destroy(): boolean

Return #

Returns true if the stream has been destroyed by this call, false if it was already destroyed.

Usage #

if (! httpStream.destroyed) {
  httpStream.destroy();
}