Struct deno_websocket::WsStreamResource [−][src]
pub struct WsStreamResource {
pub stream: WebSocketStreamType,
pub cancel: CancelHandle,
}
Fields
stream: WebSocketStreamType
cancel: CancelHandle
Trait Implementations
Returns a string representation of the resource which is made available
to JavaScript code through op_resources
. The default implementation
returns the Rust type name, but specific resource types may override this
trait method. Read more