shinyworks / cookies

Use Browser Cookies with 'shiny'
https://shinyworks.github.io/cookies/
Other
32 stars 4 forks source link

add_cookie_handlers as S3 #30

Closed jonthegeek closed 1 year ago

jonthegeek commented 2 years ago

I have ifs to handle different classes of uis. That's a clear case for an S3. I'm not sure why I didn't realize that!

Should be a silent change (split it into 3 methods). The methods should be .httpResponse, .function, and .default.