lihaoyi / autowire

Macros for simple/safe RPCs between Scala applications, including ScalaJS/ScalaJVM
378 stars 48 forks source link

Server: adds another .route with preCallOp param #80

Open lxohi opened 5 years ago

lxohi commented 5 years ago

preCallOp param allows set contexts in the worker thread. For example we may set some authorization/authentication info without change the trait for client side.