LogoRobo.js
Packages@robojs/server

DIRECTORY

API reference for @robojs/server

@robojs/server

API reference documentation for @robojs/server.

Classes

Interfaces

Type Aliases

Functions

  • CreateTestClient - Creates a fluent test client for testing multiple routes.
  • CreateTestRequest - Creates a RoboRequest suitable for testing API handlers.
  • Define - Define a typed API endpoint with optional Zod schema.
  • FindAvailablePort - Find an available port, starting from the given port and incrementing if necessary.
  • GetPluginRouteRegistry - Get the global plugin route registry.
  • GetServerEngine
  • InitPluginRoutes - Initialize the plugin route registry with prefix configuration.
  • IsPortAvailable - Check if a specific port is available on the given hostname.
  • Ready - Returns a promise that resolves when the plugin is all set up.
  • TestHandler - Tests a specific handler function directly without method dispatch.
  • TestRoute - Tests an API route module by dispatching to the appropriate handler.

Variables

On this page