chat.server
Modules
chat.server
Module chat.server
API
Definitions
commons/chat.server
Configurables
chat.server: port
Port of the service's listener.
chat.server: basePath
Base path the service is attached at.
chat.server: ns
Namespace of every conversation this instance stores and serves.
chat.server: tablePrefix
Prefix of the service's tables; webhook tables use <prefix>webhook_.
chat.server: auth
Listener auth.
chat.server: db
Database connection.
chat.server: webhooks
Webhooks registered at startup, e.g. an agent's endpoint.
chat.server: webhookDelivery
Webhook delivery tuning.
chat.server: scopeUse
Scope required to take part in conversations: read, send, stream.
chat.server: scopeCreate
Scope required to create conversations.
chat.server: scopeClose
Scope that lets a non-participant close conversations.
chat.server: scopeAgent
Scope required to post as an agent participant; also grants reading conversations that have one.
chat.server: scopeWebhooks
Scope required to manage webhooks.
chat.server: scopeAdmin
Scope that grants reading every conversation.
chat.server: maxParticipants
Most participants per conversation; 2 keeps conversations one-on-one.
chat.server: maxContentLength
Largest message content, as JSON text.
chat.server: maxPageSize
Largest page a listing returns.
chat.server: ticketTtlSeconds
Lifetime of an SSE stream ticket, in seconds.
chat.server: corsAllowOrigins
Origins allowed by CORS.
Import
import commons/chat.server;Other versions
0.1.0
Metadata
Released date: 27 days ago
Version: 0.1.0
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.13.4
GraalVM compatible: Yes
Pull count
Total: 1
Current verison: 1
Weekly downloads
Keywords
commons
chat
conversation
webhook
sse
Contributors