new adapter api for channel_out & http