本文簡要介紹ruby語言中 DRb::DRbSSLSocket.open
的用法。
用法
open(uri, config)
返回一個 DRb::DRbSSLSocket
實例作為客戶端連接,並連接 SSL。這是從 DRb::start_service
或連接到遠程對象時調用的:
DRb.start_service 'drbssl://localhost:0', front, config
uri
是我們連接的 URI
,上麵的'drbssl://localhost:0'
,config
是我們的配置。 Hash
或 DRb::DRbSSLSocket::SSLConfig
相關用法
- Ruby DRbSSLSocket.open_server用法及代碼示例
- Ruby DRb.regist_server用法及代碼示例
- Ruby DRb模塊用法及代碼示例
- Ruby DRbProtocol模塊用法及代碼示例
- Ruby Date.valid_civil?用法及代碼示例
- Ruby DateTime jisx0301()用法及代碼示例
- Ruby Date cwday()用法及代碼示例
- Ruby Date ctime()用法及代碼示例
- Ruby Date.gregorian?用法及代碼示例
- Ruby DH.public_key用法及代碼示例
- Ruby Date asctime()用法及代碼示例
- Ruby DateTime類用法及代碼示例
- Ruby DateTime.hour用法及代碼示例
- Ruby DateTime.jd用法及代碼示例
- Ruby DateTime.zone用法及代碼示例
- Ruby DateTime ordinal()用法及代碼示例
- Ruby DateTime.second用法及代碼示例
- Ruby Date.strftime用法及代碼示例
- Ruby Digest.update用法及代碼示例
- Ruby DSA.export用法及代碼示例
- Ruby DSA.to_pem用法及代碼示例
- Ruby DNS.new用法及代碼示例
- Ruby Document.new用法及代碼示例
- Ruby Date.valid_ordinal?用法及代碼示例
- Ruby DateTime to_datetime()用法及代碼示例
注:本文由純淨天空篩選整理自ruby-lang.org大神的英文原創作品 DRbSSLSocket.open。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。