Skip to content

Commit 63b3b7b

Browse files
committed
Update request.hpp
1 parent 5eb7289 commit 63b3b7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

boost/network/protocol/http/impl/request.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ struct basic_request : public basic_message<Tag> {
113113

114114
boost::network::uri::uri const& uri() const { return uri_; }
115115

116-
void setSourcePort(const unsigned short port) { source_port_ = port; }
116+
void source_port(const unsigned short port) { source_port_ = port; }
117117

118-
unsigned short getSourcePort() const { return source_port_; }
118+
unsigned short source_port() const { return source_port_; }
119119
};
120120

121121
/** This is the implementation of a POD request type

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy