---
name: "Net::DRI::Transport::HTTP"
section: "3pm"
platform: "linux"
package: "libnet-dri-perl"
version: "0.96-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/Net::DRI::Transport::HTTP"
---

# Net::DRI::Transport::HTTP(3pm)

HTTP/HTTPS Transport for Net::DRI

## NAME

Net::DRI::Transport::HTTP - HTTP/HTTPS Transport for Net::DRI

## DESCRIPTION

This module implements an HTTP/HTTPS transport for establishing connections in Net::DRI

## METHODS

At creation (see Net::DRI `"new_profile"`) you pass a reference to an hash, with the following available keys:

### timeout

time to wait (in seconds) for server reply

### https\_debug https\_version https\_cert\_file https\_key\_file https\_ca\_file https\_ca\_dir

all key materials for https access, if needed

### remote\_url

URL to access

### client\_login client\_password

protocol login & password

### client\_newpassword

(optional) new password if you want to change password on login for registries handling that at connection

### protocol\_connection

Net::DRI class handling protocol connection details. Specifying it should not be needed, as the registry driver should have correct default values.

### protocol\_data

(optional) opaque data given to protocol\_connection class. For EPP, a key login\_service\_filter may exist, whose value is a code ref. It will be given an array of services, and should give back a similar array; it can be used to filter out some services from those given by the registry.

### verify\_response

(optional) a callback (code ref) executed after each exchange with the registry, being called with the following parameters: the transport object, the phase (1 for greeting+login, 2 for all normal operations, 3 for logout), the count (if we retried multiple times to send the same message), the message sent (HTTP::Request object) and the response received (HTTP::Response object). This can be used to verify/diagnose SSL details, see example in file t/704opensrs\_xcp\_live.t

### local\_host

(optional) the local address (hostname or IP) you want to use to connect (if you are multihomed)

## SUPPORT

For now, support questions should be sent to:

\<netdri@dotandco.com\>

Please also see the SUPPORT file in the distribution.

## SEE ALSO

\<http://www.dotandco.com/services/software/Net-DRI/\>

## AUTHOR

Patrick Mevzek, \<netdri@dotandco.com\>

## COPYRIGHT

Copyright (c) 2008-2010 Patrick Mevzek \<netdri@dotandco.com\>. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

See the LICENSE file that comes with this distribution for more details.
