io.github.nafg.dialoguestate.package.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core_3 Show documentation
Show all versions of core_3 Show documentation
Define a Twilio app in terms of a sane call tree
The newest version!
package io.github.nafg
import zio.http.Request
package object dialoguestate {
implicit class RichRequest(private val self: Request) extends AnyVal {
def bodyParams =
self.body.asURLEncodedForm
.map(_.toQueryParams)
def allParams =
bodyParams
.map(self.url.queryParams ++ _)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy