Skip to main content

@php-wasm/web

Index

References

PublicAPI

Renames and re-exports consumeAPI

RemoteAPI

Renames and re-exports consumeAPI

WithAPIState

Renames and re-exports consumeAPI

WithIsReady

Renames and re-exports consumeAPI

exposeAPI

Renames and re-exports consumeAPI

Type Aliases

GeneratedCertificate

GeneratedCertificate: { certificate: Uint8Array; keyPair: CryptoKeyPair; tbsCertificate: TBSCertificate; tbsDescription: TBSCertificateDescription }

Type declaration

MountDevice

MountDevice: { path: string; type: opfs } | { handle: FileSystemDirectoryHandle; type: local-fs }

OID

OID: keyof typeof oids

OIDName

OIDName: typeof oids[OID]

SyncProgress

SyncProgress: { files: number; total: number }

Type declaration

  • files: number

    The number of files that have been synced.

  • total: number

    The number of all files that need to be synced.

SyncProgressCallback

SyncProgressCallback: (progress: SyncProgress) => void

Type declaration

TBSCertificate

TBSCertificate: Uint8Array

TCPOverFetchOptions

TCPOverFetchOptions: { CAroot: GeneratedCertificate; corsProxyUrl?: string }

Type declaration

Validity

Validity: { notAfter: Date; notBefore: Date }

Type declaration

  • notAfter: Date
  • notBefore: Date

Variables

consumeAPI

consumeAPI: any