Skip to content

WebhookBot HttpApp Composition #143

Closed
@benkio

Description

@benkio

Hi,
I open this issue to request the ability to compose multiple WebhookBot together in a single server/bot.
It should be possible by just composing the HttpApp + setWebhook requests.

The scenario where this is useful is when multiple bots have to be deployed on a single server that exposes a single ip:port pair.
There's a workaround/hack that consists of using Http4s routing and implements a reverse proxy applying different ports to each bot, but would be cool to have this available through the library itself. Otherwise, a BindException will be thrown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions