@asyncio.coroutine<EOL><INDENT>def request(self, method, params):<DEDENT>
identifier = random.randint(<NUM_LIT:1>, <NUM_LIT:1000>)<EOL>self._transport.write(jsonrpc_request(method, identifier, params))<EOL>self._buffer[identifier] = {'<STR_LIT>': asyncio.Event()}<EOL>yield from self._buffer[identifier]['<STR_LIT>'].wait()<EOL>result = self._buffer[identifier]['<STR_LIT:data>']<EOL>del self._buffer[identifier]['<STR_LIT:data>']<EOL>return result<EOL>
Send a JSONRPC request.