DurableObjectStub

external interface DurableObjectStub : Fetcher

Properties

Link copied to clipboard
abstract var id: DurableObjectId
Link copied to clipboard
open var name: String?

Functions

Link copied to clipboard
open fun connect(address: SocketAddress): Socket
open fun connect(address: String): Socket
open fun connect(address: SocketAddress, options: SocketOptions = definedExternally): Socket
open fun connect(address: String, options: SocketOptions = definedExternally): Socket
Link copied to clipboard
open fun fetch(input: Request<Any, Any>): Promise<Response>
open fun fetch(input: URL): Promise<Response>
open fun fetch(input: String): Promise<Response>
open fun fetch(input: Request<Any, Any>, init: RequestInit__0 = definedExternally): Promise<Response>
open fun fetch(input: URL, init: RequestInit__0 = definedExternally): Promise<Response>
open fun fetch(input: String, init: RequestInit__0 = definedExternally): Promise<Response>