add 'send' api and its impl.