dart-archive / rpc

RPC package for building server-side RESTful Dart APIs.
https://pub.dartlang.org/packages/rpc
BSD 3-Clause "New" or "Revised" License
117 stars 49 forks source link

How to handle https, authentication and how to get remote ip #137

Open chstrong opened 5 years ago

chstrong commented 5 years ago

Hello,

I might not be well versed enough with this framework, I have started using it, because there is no other framework that supports MySQL with transactions yet. It looked very promising, but at the moment I'm stuck, as I can't figure out, how to configure it for HTTPS, how to get HTTP request information, such as the remote ip address. Also I would need to add token based auth (Token in header or url).

So these are features I'm missing. If you would have any hints, it would be appreciated, as at the moment I can't find anything else that is usable for dart out there, and I'm not proficient enough with annotations and mirrors, to write my own framework.