接口的使用
cn.taketoday.http.codec.ServerSentEvent.Builder
使用ServerSentEvent.Builder的程序包
-
cn.taketoday.http.codec中ServerSentEvent.Builder的使用
修饰符和类型方法说明static <T> ServerSentEvent.Builder<T>ServerSentEvent.builder()Return a builder for aSseEvent.static <T> ServerSentEvent.Builder<T>ServerSentEvent.builder(T data) Return a builder for aSseEvent, populated with the given data.Set SSE comment.Set the value of thedatafield.Set the value of theeventfield.Set the value of theidfield.Set the value of theretryfield.