I think the decorator is the best way to expose a method to CherryPy, but you can also expose a method by setting its exposed member to true.
我认为装饰符是将方法暴露给CherryPy的最佳方式,但是也可以通过将其成员exposed设置为True来暴露一个方法。
I think the decorator is the best way to expose a method to CherryPy, but you can also expose a method by setting its exposed member to true.
我认为装饰符是将方法暴露给CherryPy的最佳方式,但是也可以通过将其成员exposed设置为True来暴露一个方法。
应用推荐