Skip to content

Support for Programmatic Plumber API #271

@erikking

Description

@erikking

Some of plumber API implementation is complicated using programmatic Plumber like code snip example below, is there a way to run faucet to host the API and configure load balance?

pr() |>
  pr_get("/", function(){
    "<html><h1>Programmatic Plumber!</h1></html>"
  }, serializer = plumber::serializer_html()) |>
  pr_run()

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