question: immediately closes the socket connection if it 's currently held . use this to interrupt an in-flight request from any thread . it 's the caller 's responsibility to close the request body and response body streams ; otherwise resources may be leaked . this method is safe to be called concurrently , but provides limited guarantees . if a transport layer connection has been established such as a http/2 stream that is terminated . otherwise if a socket connection is being established , that is terminated . concode_field_sep boolean canceled concode_elem_sep boolean forWebSocket concode_elem_sep int MAX_FOLLOW_UPS concode_elem_sep OkHttpClient client concode_elem_sep Object callStackTrace concode_elem_sep StreamAllocation streamAllocation concode_field_sep boolean isCanceled concode_elem_sep void setCallStackTrace concode_elem_sep boolean recover concode_elem_sep Request followUpRequest concode_elem_sep boolean isForWebSocket concode_elem_sep Response intercept concode_elem_sep Address createAddress concode_elem_sep boolean isRecoverable concode_elem_sep void setForWebSocket concode_elem_sep StreamAllocation streamAllocation concode_elem_sep boolean sameConnection
target: void function ( ) { canceled = true ; StreamAllocation loc0 = this . streamAllocation ; if ( loc0 != null ) loc0 . cancel ( ) ; }