let System::PutUrlProto takes a stream by a reference to pt::Stream
This commit is contained in:
parent
979ef907fe
commit
d4da6aa518
|
@ -229,7 +229,7 @@ void System::PutUrlProto(bool can_use_ssl, std::wstring & str, bool clear_str)
|
|||
/*
|
||||
* try_to_use_ssl is to be meant: config->use_ssl, config->use_ssl_static, config->use_ssl_common
|
||||
*/
|
||||
void System::PutUrlProto(bool can_use_ssl, pt::TextStream & str, bool clear_stream)
|
||||
void System::PutUrlProto(bool can_use_ssl, pt::Stream & str, bool clear_stream)
|
||||
{
|
||||
if( clear_stream )
|
||||
str.clear();
|
||||
|
@ -251,7 +251,7 @@ void System::PutUrlProto(std::wstring & str, bool clear_str)
|
|||
}
|
||||
|
||||
|
||||
void System::PutUrlProto(pt::TextStream & str, bool clear_stream)
|
||||
void System::PutUrlProto(pt::Stream & str, bool clear_stream)
|
||||
{
|
||||
return PutUrlProto(config->use_ssl, str, clear_stream);
|
||||
}
|
||||
|
|
|
@ -130,9 +130,9 @@ public:
|
|||
bool IsSSLRequired(bool try_to_use_ssl);
|
||||
bool IsSSLRequired();
|
||||
void PutUrlProto(bool can_use_ssl, std::wstring & str, bool clear_str = true);
|
||||
void PutUrlProto(bool can_use_ssl, pt::TextStream & str, bool clear_stream = true);
|
||||
void PutUrlProto(bool can_use_ssl, pt::Stream & str, bool clear_stream = true);
|
||||
void PutUrlProto(std::wstring & str, bool clear_str = true);
|
||||
void PutUrlProto(pt::TextStream & str, bool clear_stream = true);
|
||||
void PutUrlProto(pt::Stream & str, bool clear_stream = true);
|
||||
|
||||
void RedirectTo(const Item & item, const wchar_t * postfix = 0, bool use_reqtype = true);
|
||||
void RedirectTo(long item_id, const wchar_t * postfix = 0, bool use_reqtype = true);
|
||||
|
|
Loading…
Reference in New Issue