예제 #1
0
 public GenerateCookieCallbackThunk(GenerateCookieCallback callback)
 {
     _local_callback = callback;
     if (callback != null)
     {
         NativeCallback = OnCallback;
     }
     else
     {
         NativeCallback = null;
     }
 }
예제 #2
0
 public void SetCookieGenerateCallback(GenerateCookieCallback callback)
 {
     Native.SSL_CTX_set_cookie_generate_cb(this.ptr,
                                           (new GenerateCookieCallbackThunk(callback)).NativeCallback);
 }
예제 #3
0
 public void SetCookieGenerateCallback(GenerateCookieCallback callback)
 {
   Native.SSL_CTX_set_cookie_generate_cb(this.ptr,
       (new GenerateCookieCallbackThunk(callback)).NativeCallback);
 }
예제 #4
0
 public GenerateCookieCallbackThunk(GenerateCookieCallback callback)
 {
   _local_callback = callback;
   if(callback != null) {
     NativeCallback = OnCallback;
   } else {
     NativeCallback = null;
   }
 }