This file is indexed.

/usr/include/Wt/Http/Client is in libwt-dev 3.1.10-1ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// This may look like C code, but it's really -*- C++ -*-
/*
 * Copyright (C) 2009 Emweb bvba, Kessel-Lo, Belgium.
 *
 * See the LICENSE file for terms of use.
 */
#ifndef HTTP_CLIENT_H_
#define HTTP_CLIENT_H_

#include <Wt/WDllDefs.h>
#include <Wt/WFlags>
#include <string>

namespace Wt {

  namespace Http {

/*! \class Client Wt/Http/Client Wt/Http/Client
 *  \brief Collection of methods for dealing with a %Wt application from a
 *         client perspective.
 */
class WT_API Client {
public:
  /*! \brief Enumeration for client user-agent options.
   */
  enum ClientOption {
    SupportsAjax = 0x1 //!< Flag that indicates supports for AJAX
  };

  /*! \brief Starts a %Wt session.
   *
   * A %Wt application uses a bootstrap procedure during which it
   * collects information on user agent capabilities (unless the
   * progressive bootstrap method is enabled). Therefore a session is
   * not spawned after the first request, but only after these
   * capabilities have been collected by a second request.
   *
   * This function starts a session on the specific \p host, \p port,
   * \p path, and optional \p query. These correspond to the different
   * parts of a url:
   * 
   * <tt>http://</tt><i>host</i><tt>:</tt><i>port</i>/<i>path</i><tt>?</tt>\p query.
   */
  static void startWtSession(const std::string& host,
			     const std::string& port,
			     const std::string& path,
			     const std::string& query = std::string(),
			     WFlags<ClientOption> flags = SupportsAjax);
};

W_DECLARE_OPERATORS_FOR_FLAGS(Client::ClientOption)

  }
}

#endif // HTTP_CLIENT_H_