Closed njlr closed 4 years ago
How about this ?
open Cookie
fun ctx -> async {
let cookies = ctx.request.cookies // need to open module Cookie
return!
ctx
|> Successful.OK (sprintf "Your cookies: %A" cookies)
}
Thanks, I was not aware of that module!
Is there a better way than this?