Sha256: a571518732d64ee2f8121bc2b5c85943de050f521ace2dd0b29a4d2d3fb245a3
Contents?: true
Size: 782 Bytes
Versions: 66
Compression:
Stored size: 782 Bytes
Contents
#ifndef RHO_SSL_IMPL_EC601E9D39EFA5CBA3F57583992797A #define RHO_SSL_IMPL_EC601E9D39EFA5CBA3F57583992797A #include <net/ssl.h> #include <jni.h> namespace rho { namespace net { class SSLImpl : public ISSL { public: SSLImpl(); void* createStorage(); void freeStorage(void *ptr); CURLcode connect(int sockfd, int nonblocking, int *done, int ssl_verify_peer, void *storage); void shutdown(void *storage); ssize_t send(const void *mem, size_t len, void *storage); ssize_t recv(char *buf, size_t size, int *wouldblock, void *storage); private: jclass cls; jmethodID midConstructor; jmethodID midConnect; jmethodID midShutdown; jmethodID midSend; jmethodID midRecv; }; } } #endif // RHO_SSL_IMPL_EC601E9D39EFA5CBA3F57583992797A
Version data entries
66 entries across 66 versions & 1 rubygems