Changeset 91b017ea5b23ccf691f883c7610d7e7a493633a2 in xas


Ignore:
Timestamp:
10/31/14 13:31:55 (5 years ago)
Author:
Kevin L. Esteb <kevin@…>
Branches:
master
Children:
7a7d828981a38552138f8e008bbb0c829c7a42b8
Parents:
f0e0bf3ddd65ef79563e54f065ca6626deeeea1f
git-author:
Kevin L. Esteb <kevin@…> (10/31/14 13:31:55)
git-committer:
Kevin L. Esteb <kevin@…> (10/31/14 13:31:55)
Message:

Added some common functionality

Location:
trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MANIFEST

    rf0e0bf3ddd65ef79563e54f065ca6626deeeea1f r91b017ea5b23ccf691f883c7610d7e7a493633a2  
    6868lib/XAS/Lib/Stomp/POE/Filter.pm 
    6969lib/XAS/Lib/Stomp/Utils.pm 
     70lib/XAS/Lib/XML.pm 
    7071lib/XAS/Msgs/Base.msg 
    7172lib/XAS/Singleton.pm 
  • trunk/lib/XAS.pm

    rf0e0bf3ddd65ef79563e54f065ca6626deeeea1f r91b017ea5b23ccf691f883c7610d7e7a493633a2  
    119119=item L<XAS::Lib::Stomp::Utils|XAS::Lib::Stomp::Utils> 
    120120 
     121=item L<XAS::Lib::XML|XAS::Lib::XML> 
     122 
    121123=back 
    122124 
  • trunk/lib/XAS/Lib/Curl/HTTP.pm

    rf0e0bf3ddd65ef79563e54f065ca6626deeeea1f r91b017ea5b23ccf691f883c7610d7e7a493633a2  
    77 
    88use XAS::Class 
     9  debug     => 0, 
    910  version   => $VERSION, 
    1011  base      => 'XAS::Base', 
     
    1516    PARAMS => { 
    1617      -headers         => { optional => 1, default => 0 }, 
    17       -keep_alive      => { optional => 1, default => 0 }, 
    1818      -followlocation  => { optional => 1, default => 1 }, 
    1919      -max_redirects   => { optional => 1, default => 3 }, 
     
    5353    my @headers  = split("\n", $header); 
    5454 
    55     push(@headers, "Connection: close") unless $self->keep_alive; 
    56  
    5755    $self->curl->setopt(CURLOPT_URL,        $request->uri); 
    5856    $self->curl->setopt(CURLOPT_HTTPHEADER, \@headers) if (scalar(@headers)); 
     
    299297A toggle to tell curl to display headers, defaults to false. 
    300298 
    301 =item B<-keep_alive>  
    302  
    303 A toggle to place a "Connection: close" header into the request, 
    304 defaults to yes. 
    305  
    306299=item B<-followlocation> 
    307300 
     
    319312 
    320313The timeout for the initial connection, defaults to 300 seconds. 
    321  
    322 =item B<-ssl_cacert> 
    323  
    324 An optional CA cerificate to use. 
    325  
    326 =item B<-ssl_keypasswd> 
    327  
    328 An optional password for a signed cerificate. 
    329  
    330 =item B<-ssl_cert> 
    331  
    332 An optional certificate to use. 
    333  
    334 =item B<-ssl_key> 
    335  
    336 An optional key for a certificate to use. 
    337  
    338 =item B<-ssl_verify_host> 
    339  
    340 Wither to verify the host certifcate, defaults to true. 
    341  
    342 =item B<-ssl_verify_peer> 
    343  
    344 Wither to verify the peer certificate, defaults to true. 
    345314 
    346315=item B<-auth_method> 
     
    359328An optional username to use, implies a password. 
    360329 
     330=item B<-ssl_cacert> 
     331 
     332An optional CA cerificate to use. 
     333 
     334=item B<-ssl_keypasswd> 
     335 
     336An optional password for a signed cerificate. 
     337 
     338=item B<-ssl_cert> 
     339 
     340An optional certificate to use. 
     341 
     342=item B<-ssl_key> 
     343 
     344An optional key for a certificate to use. 
     345 
     346=item B<-ssl_verify_host> 
     347 
     348Wither to verify the host certifcate, defaults to true. 
     349 
     350=item B<-ssl_verify_peer> 
     351 
     352Wither to verify the peer certificate, defaults to true. 
     353 
    361354=item B<-proxy_url> 
    362355 
  • trunk/lib/XAS/Msgs/Base.msg

    rf0e0bf3ddd65ef79563e54f065ca6626deeeea1f r91b017ea5b23ccf691f883c7610d7e7a493633a2  
    6969json_rpc_notify   = the usage of json-rpc notifications is not supported 
    7070curl              = curl error: %s, reason: %s 
     71xml_error         => %s 
     72xml_parser        => unable to parse the document 
     73xml_validate      => unable to validate the document 
Note: See TracChangeset for help on using the changeset viewer.