Closed kennedymwavu closed 1 day ago
closes #76 & #77
convert_body()
send()
sendf()
text()
with this PR, this reprex now works as expected:
# app.R library(ambiorix) library(htmltools) app <- Ambiorix$new() app$get("/", \(req, res){ x <- tagList( tags$h1("hello"), tags$h2("there") ) res$send(x) }) app$start()
Looks good, thanks!
closes #76 & #77
convert_body()
in the Response methods:send()
,sendf()
andtext()
convert_body()
by removing unnecessary checkswith this PR, this reprex now works as expected: