Learn R Programming

aisdk (version 1.1.0)

run_feishu_webhook_server: Run a Feishu Webhook Server

Description

Run a blocking httpuv loop for a Feishu callback endpoint. This helper is intended for local demos and manual integration testing.

Usage

run_feishu_webhook_server(
  runtime,
  host = "127.0.0.1",
  port = 8788,
  path = "/feishu/webhook",
  poll_ms = 100
)

Value

Invisible server handle. Interrupt the R process to stop it.

Arguments

runtime

A ChannelRuntime with a Feishu adapter registered.

host

Bind host.

port

Bind port.

path

Callback path.

poll_ms

Event loop polling interval in milliseconds.