IBR-DTNSuite  0.10
HTTPConvergenceLayer.cpp File Reference
#include "Configuration.h"
#include "net/HTTPConvergenceLayer.h"
#include "core/BundleCore.h"
#include <memory>
Include dependency graph for HTTPConvergenceLayer.cpp:

Go to the source code of this file.

Namespaces

namespace  dtn
 
namespace  dtn::net
 

Variables

const int dtn::net::TIMEOUT = 1000
 
const int dtn::net::CONN_TIMEOUT = 5000
 
const int dtn::net::HTTP_OK = 200
 
const int dtn::net::HTTP_NO_DATA = 410
 
const int dtn::net::CURL_CONN_OK = 0
 
const int dtn::net::CURL_PARTIAL_FILE = 18
 

Detailed Description

Date
: 08.03.2011
Author
: Robert Heitz

This file contains methods for the HTTP Convergence Layer, libcurl is used for the HTTP communication.

Copyright (C) 2011 IBR, TU Braunschweig

Written-by: Robert Heitz

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file HTTPConvergenceLayer.cpp.