Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
bakercp committed Jun 28, 2018
1 parent bc79d80 commit 688d619
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions libs/ofxHTTP/include/ofx/HTTP/Client.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ class BufferResponseHandler: public ResponseHandler<ofBuffer>

};

/// \brief A base HTTP cient for executing HTTP client requests.

/// \brief A base HTTP client for executing HTTP client requests.
class Client: public AbstractRequestResponseFilter
{
public:
Expand Down Expand Up @@ -132,8 +133,6 @@ class Client: public AbstractRequestResponseFilter
return handler.handleResponse(*execute(context, request));
}



template<typename ReturnType>
ReturnType execute(Context& context,
Request& request,
Expand All @@ -151,7 +150,7 @@ class Client: public AbstractRequestResponseFilter
{
return f(*execute(context, request));
}


protected:
virtual void requestFilter(Context& context,
Expand Down
2 changes: 1 addition & 1 deletion libs/ofxHTTP/include/ofx/HTTP/Context.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class Context
/// \param uri The URI to add.
void addRedirect(const Poco::URI& uri);

/// \returns A list of all redurects followed by this client session.
/// \returns A list of all redirects followed by this client session.
const std::vector<Poco::URI>& getRedirects() const;

/// \brief Set the URI that should be used if a proxy is required.
Expand Down
2 changes: 1 addition & 1 deletion libs/ofxHTTP/include/ofx/HTTP/WebSocketConnection.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace HTTP {
/// \brief A class representing a WebSocket connection with a single client.
///
/// Frames can be sent across thread boundaries and are queued for sending
/// during the WebSocketConnection's service loop. All accessors are
/// during the WebSocketConnection's service loop. All accessors are
/// synchronized and thread-safe.
class WebSocketConnection: public BaseRouteHandler_<WebSocketRoute>
{
Expand Down

0 comments on commit 688d619

Please sign in to comment.