tags:

views:

211

answers:

10

For example in HTTP you send a request and receive a response; is there a noun that describes that request-response pair?

I'd thought of "dialog" or "conversation" however those imply multiple request-response pairs, whereas I'm looking for a word that indicates exactly one.

The reason for asking is that I need to name an object which encapsulates the details of both, and RequestResponse seems fairly lame.

+7  A: 

How about "exchange"?

David M
According to this previous question (http://stackoverflow.com/questions/325346/name-for-http-requestresponse), that's what the spec uses.
bbrown
+3  A: 

I'd use Message or Transaction

Kai
+6  A: 

RequestResponsePair sounds like it does exactly what it says. And that's invaluable, I find.

Brian Agnew
I like this one the most. +1
Yuval A
A: 

what about RequestResponseContext?

dfa
Every abstraction is a paradigm!
rp
I read that sentence much differently. "Request/response" modifies "paradigm", they are not synonyms.
rkb
Is it just me or didn't this answer get changed substantially from when it was first entered?
rp
A: 

Interaction

natas
+2  A: 

I would say HttpTransaction as it (somewhat) implies bidirectional activity.

John Rasch
+1  A: 

Fiddler calls it a Session.

Ian Boyd
Session works pretty well, but it has the minor downside that some may assume that it has something to do with "session cookies" or related technologies.Transaction seems like a fine name, except that Transaction implies that HTTP traffic is somehow transactional (with rollback, etc) which it's not.
EricLaw -MSFT-
i do't know what the OP's usage will be. But i use Fiddler quite a bit, and i've never had any problem with the term "session". In fact, it was so transparent (since it's just a term for that request-response pair) that had to load Fiddler to see what they called it, if anything.
Ian Boyd
Hey, wait a minute....Eric Lawrence...Fiddler
Ian Boyd
A: 

Transceival or ServiceCall might work.

Andrew
A: 

HttpRoundTrip - inspired by Jeff Atwood in this blog post

John Rasch
A: 

OR uses "communication" for the request/response couple.

serialseb