Skip to content
Snippets Groups Projects
Commit 7ef7f41c authored by Jake Taylor's avatar Jake Taylor
Browse files

adjust filenames for restlike

parent 559303ed
No related branches found
No related tags found
2 merge requests!510Release,!207WIP: Client Restructure
File moved
File moved
...@@ -26,7 +26,7 @@ type SingleRequest struct { ...@@ -26,7 +26,7 @@ type SingleRequest struct {
// Request provides several Method of sending Data to the given URI // Request provides several Method of sending Data to the given URI
// and blocks until the Message is returned // and blocks until the Message is returned
func (s *SingleRequest) Request(method Method, recipient contact.Contact, path URI, func (s *SingleRequest) Request(recipient contact.Contact, method Method, path URI,
content Data, headers *Headers, singleParams single.RequestParams) (*Message, error) { content Data, headers *Headers, singleParams single.RequestParams) (*Message, error) {
// Build the Message // Build the Message
newMessage := &Message{ newMessage := &Message{
...@@ -63,7 +63,7 @@ func (s *SingleRequest) Request(method Method, recipient contact.Contact, path U ...@@ -63,7 +63,7 @@ func (s *SingleRequest) Request(method Method, recipient contact.Contact, path U
// AsyncRequest provides several Method of sending Data to the given URI // AsyncRequest provides several Method of sending Data to the given URI
// and will return the Message to the given Callback when received // and will return the Message to the given Callback when received
func (s *SingleRequest) AsyncRequest(method Method, recipient contact.Contact, path URI, func (s *SingleRequest) AsyncRequest(recipient contact.Contact, method Method, path URI,
content Data, headers *Headers, cb RequestCallback, singleParams single.RequestParams) error { content Data, headers *Headers, cb RequestCallback, singleParams single.RequestParams) error {
// Build the Message // Build the Message
newMessage := &Message{ newMessage := &Message{
......
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment