Defjs

Look up SDK definition APIs, application client configuration, and typed execution results.

API Reference

Results: 165

Use this reference while building or consuming a Defjs SDK. SDK authors start with defineRequest, defineEventStream, defineWebSocket, and Structs. Applications use Client configuration to call those operations and Errors to handle results.

Signatures are the contract. Follow the quick start and SDK publishing guide for the complete workflow.

Packages

PackageWhat you look up
@defjs/corecreateClient, defineRequest, struct, HTTP / SSE / WebSocket
@defjs/vuecreateClientPlugin, injectClient, HTTP_CLIENT
@defjs/reactClientProvider, useClient
@defjs/opentelemetry-serverwithOpenTelemetryServer, per-transport options

@defjs/core

PageWhat you look up
ClientcreateClient, with* options, Client
HTTPdefineRequest, HttpExecuteOptions, HttpRequest / HttpResponse
Structstruct.*, Infer, StructError
ErrorsFault variants and factories
InterceptorsHTTP / SSE / WebSocket interceptor helpers
SSEdefineEventStream, stream handle
WebSocketdefineWebSocket, session
Edit this page on GitHub
Released under the MIT License. · Copyright © 2026 MunMunMiao

On this page