Permalink
Browse files

Corrected code examples markup

  • Loading branch information...
1 parent a84ec87 commit 6619320ea3eb04b6650abd1456db2391964cf3c2 @davedevelopment committed Jan 18, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 README.md
View
3 README.md
@@ -18,10 +18,13 @@ $wsse = new Atst\Guzzle\Http\Plugin\WsseAuthPlugin("my_username", "my_password")
$client = new Guzzle\Service\Client("http://example.com");
$client->getEventDispatcher()->addSubscriber($wsse);
$response = $client->get("/someapi")->send();
+```
To specify your own digest function
``` php
+<?php
+
$wsse = new Atst\Guzzle\Http\Plugin\WsseAuthPlugin("my_username", "my_password", function($nonce, $created, $password) {
return md5($nonce . $created . $password);
});

0 comments on commit 6619320

Please sign in to comment.