GNUnet 0.22.0
httpdomain.httpdomain.DocRef Class Reference
Inheritance diagram for httpdomain.httpdomain.DocRef:
[legend]
Collaboration diagram for httpdomain.httpdomain.DocRef:
[legend]

Public Member Functions

def __init__ (self, base_url, anchor, section)
 
def __repr__ (self)
 
def __init__ (self, base_url, anchor, section)
 
def __repr__ (self)
 

Data Fields

 base_url
 
 anchor
 
 section
 

Detailed Description

Represents a reference to an abstract specification.

Definition at line 39 of file httpdomain.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

def httpdomain.httpdomain.DocRef.__init__ (   self,
  base_url,
  anchor,
  section 
)

Reimplemented in httpdomain.httpdomain.CORSRef, httpdomain.httpdomain.CORSRef, httpdomain.httpdomain.IETFRef, httpdomain.httpdomain.IETFRef, httpdomain.httpdomain.RFC2616Ref, httpdomain.httpdomain.EventSourceRef, httpdomain.httpdomain.RFC2616Ref, and httpdomain.httpdomain.EventSourceRef.

Definition at line 42 of file httpdomain.py.

42 def __init__(self, base_url, anchor, section):
43 self.base_url = base_url
44 self.anchor = anchor
45 self.section = section
46

◆ __init__() [2/2]

Member Function Documentation

◆ __repr__() [1/2]

def httpdomain.httpdomain.DocRef.__repr__ (   self)
Returns the URL onto related specification section for the related
object.

Definition at line 47 of file httpdomain.py.

47 def __repr__(self):
48 """Returns the URL onto related specification section for the related
49 object."""
50 return '{0}#{1}{2}'.format(self.base_url, self.anchor, self.section)
51
52

References httpdomain.httpdomain.DocRef.anchor, httpdomain.httpdomain.DocRef.base_url, httpdomain.httpdomain.DocRef.section, GNUNET_CONFIGURATION_ConfigSettings.section, GNUNET_DATACACHE_PluginEnvironment.section, and GNUNET_DATACACHE_Handle.section.

◆ __repr__() [2/2]

def httpdomain.httpdomain.DocRef.__repr__ (   self)
Returns the URL onto related specification section for the related
object.

Definition at line 47 of file httpdomain.py.

47 def __repr__(self):
48 """Returns the URL onto related specification section for the related
49 object."""
50 return '{0}#{1}{2}'.format(self.base_url, self.anchor, self.section)
51
52

References httpdomain.httpdomain.DocRef.anchor, httpdomain.httpdomain.DocRef.base_url, httpdomain.httpdomain.DocRef.section, GNUNET_CONFIGURATION_ConfigSettings.section, GNUNET_DATACACHE_PluginEnvironment.section, and GNUNET_DATACACHE_Handle.section.

Field Documentation

◆ base_url

httpdomain.httpdomain.DocRef.base_url

◆ anchor

httpdomain.httpdomain.DocRef.anchor

◆ section

httpdomain.httpdomain.DocRef.section

The documentation for this class was generated from the following files: