equal
deleted
inserted
replaced
25 #include "lm_message_handler.h" |
25 #include "lm_message_handler.h" |
26 #include "lm_proxy.h" |
26 #include "lm_proxy.h" |
27 #include "lm_ssl.h" |
27 #include "lm_ssl.h" |
28 #include "lm_connection.h" |
28 #include "lm_connection.h" |
29 |
29 |
30 /// Some common principles: |
30 /// Some common principles |
31 /// Most methods can be used in two way: |
31 /// Most methods can be used in two way: |
32 /// * to get value they are invoked without their last argument. Returned value is either a value or pair of nil and error message. |
32 /// * to get value they are invoked without their last argument. Returned value is either a value or pair of nil and error message. |
33 /// * to set value they are invoked with last arg (value) specified. Returned value in most cases is an object, on which operation is performed (to allow chain-initialization). |
33 /// * to set value they are invoked with last arg (value) specified. Returned value in most cases is an object, on which operation is performed (to allow chain-initialization). |
34 /// Every object have pointer method to return pointer (lightuserdata) to underlying C loudmouth structure. |
34 /// Every object have pointer method to return pointer (lightuserdata) to underlying C loudmouth structure. |
35 /// Every module have a bless method to convert given pointer (lightuserdata) to corresponding lua object. |
35 /// Every module have a bless method to convert given pointer (lightuserdata) to corresponding lua object. |