Request

open external class Request<CfHostMetadata, Cf> : Body

Inheritors

Constructors

Link copied to clipboard
constructor(input: Request<Any, Any>, init: RequestInit<Cf> = definedExternally)
constructor(input: Request<Any, Any>)
constructor(input: String, init: RequestInit<Cf> = definedExternally)
constructor(input: String)
constructor(input: URL, init: RequestInit<Cf> = definedExternally)
constructor(input: URL)

Properties

Link copied to clipboard
open var body: ReadableStream<Uint8Array>?
Link copied to clipboard
open var bodyUsed: Boolean
Link copied to clipboard
open var cf: Cf
Link copied to clipboard
open var fetcher: Fetcher?
Link copied to clipboard
open var headers: Headers
Link copied to clipboard
open var integrity: String
Link copied to clipboard
open var keepalive: Boolean
Link copied to clipboard
open var method: String
Link copied to clipboard
open var redirect: String
Link copied to clipboard
Link copied to clipboard
open var url: String

Functions

Link copied to clipboard
open fun arrayBuffer(): Promise<ArrayBuffer>
Link copied to clipboard
open fun blob(): Promise<Blob>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <T> json(): Promise<T>
Link copied to clipboard
open fun text(): Promise<String>