Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Usee SSL #32

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.DS_Store
.svn
.idea
.idea
/nbproject/
/nbproject/private/
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Usage
* @param string $jabberHost Jabber Server Host
* @param string $boshUri Full URI to the http-bind
* @param string $resource Resource identifier
* @param bool $useSsl Use SSL (not working yet, TODO)
* @param bool $useSsl Use SSL
* @param bool $debug Enable debug
*/
$xmppPrebind = new XmppPrebind('your-jabber-host.tld', 'http://your-jabber-host/http-bind/', 'Your XMPP Clients resource name', false, false);
Expand All @@ -42,6 +42,10 @@ Other Languages
===============
There exist other projects for other languages to support a prebind. Go googling :)

SSL
========
Actually just set CURLOPT_SSL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST is useSSL is false

Be aware
========
This class is in no way feature complete. There may also be bugs. I'd appreciate it if you contribute or submit bug reports.
Expand Down
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{
"name": "piotr-cz/xmpp-prebind-php",
"name": "matteocacciola/xmpp-prebind-php",
"description": "This class is for prebinding a XMPP Session with PHP.",
"version": "0.1.0",
"type": "library",
"keywords": ["xmpp", "php", "prebind"],
"homepage": "http://jolicode.com",
"license": "MIT",
"authors": [
{
"name": "Matteo Cacciola",
"email": "[email protected]"
},
{
"name": "Michael Weibel"
},
Expand Down
Loading