Hyperlinkv0.9.0-beta.0

Node

export interface HttpServerOptions {
  readonly path?: HttpRouter.PathInput;
  readonly serialization?: Layer.Layer<RpcSerialization.RpcSerialization>;
  readonly health?: { readonly path?: HttpRouter.PathInput };
  /**
   * Node log key for auto-mounted node-status durable `logs.query`
   * (`Hyperlink.store(Node)` / `Node.logs`). When omitted, inferred from served tags'
   * bound {@link Node} when all share one key.
   */
  readonly node?: string | { readonly key: string };
  /**
   * Soft Lookup directory advertise after serve registration (`Node.http` / `Node.ws` / protocol listen).
   *
   * @internal
   */
  readonly advertiseNode?: AnyNode & { readonly key: string };
  /**
   * Call-site advertise conflict policy (forwarded to {@link Lookup.directoryAdvertiseLayer}).
   *
   * @internal
   */
  readonly onConflict?: OnConflict;
  /**
   * Expected launcher ownership-ack token for {@link Node.assume} on the auto-mounted
   * node-status Hyperlink.
   */
  readonly assumeToken?: string | Redacted.Redacted<string>;
  /**
   * Cooperative `askIncumbent` handler — node-status `yield` (`true` = accept replace).
   */
  readonly onYield?: Effect.Effect<boolean>;
}
Referenced by 2 symbols