Advertisement
Guest User

Untitled

a guest
Jun 30th, 2014
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.20 KB | None | 0 0
  1. def getMeeting(meetingId: String): Meeting = {
  2.     val uri = Uri(endpoint + '/' + meetingId)
  3.     val pipeline = sendReceive ~> unmarshal[Meeting]
  4.  
  5.     val fut = pipeline {
  6.         Get(uri)
  7.     }
  8.     fut onComplete {
  9.     }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement